#[non_exhaustive]pub struct SecretVersionsListEntryBuilder { /* private fields */ }
Expand description
A builder for SecretVersionsListEntry
.
Implementations§
source§impl SecretVersionsListEntryBuilder
impl SecretVersionsListEntryBuilder
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The unique version identifier of this version of the secret.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The unique version identifier of this version of the secret.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The unique version identifier of this version of the secret.
sourcepub fn version_stages(self, input: impl Into<String>) -> Self
pub fn version_stages(self, input: impl Into<String>) -> Self
Appends an item to version_stages
.
To override the contents of this collection use set_version_stages
.
An array of staging labels that are currently associated with this version of the secret.
sourcepub fn set_version_stages(self, input: Option<Vec<String>>) -> Self
pub fn set_version_stages(self, input: Option<Vec<String>>) -> Self
An array of staging labels that are currently associated with this version of the secret.
sourcepub fn get_version_stages(&self) -> &Option<Vec<String>>
pub fn get_version_stages(&self) -> &Option<Vec<String>>
An array of staging labels that are currently associated with this version of the secret.
sourcepub fn last_accessed_date(self, input: DateTime) -> Self
pub fn last_accessed_date(self, input: DateTime) -> Self
The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.
sourcepub fn set_last_accessed_date(self, input: Option<DateTime>) -> Self
pub fn set_last_accessed_date(self, input: Option<DateTime>) -> Self
The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.
sourcepub fn get_last_accessed_date(&self) -> &Option<DateTime>
pub fn get_last_accessed_date(&self) -> &Option<DateTime>
The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time this version of the secret was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date and time this version of the secret was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date and time this version of the secret was created.
sourcepub fn kms_key_ids(self, input: impl Into<String>) -> Self
pub fn kms_key_ids(self, input: impl Into<String>) -> Self
Appends an item to kms_key_ids
.
To override the contents of this collection use set_kms_key_ids
.
The KMS keys used to encrypt the secret version.
sourcepub fn set_kms_key_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_kms_key_ids(self, input: Option<Vec<String>>) -> Self
The KMS keys used to encrypt the secret version.
sourcepub fn get_kms_key_ids(&self) -> &Option<Vec<String>>
pub fn get_kms_key_ids(&self) -> &Option<Vec<String>>
The KMS keys used to encrypt the secret version.
sourcepub fn build(self) -> SecretVersionsListEntry
pub fn build(self) -> SecretVersionsListEntry
Consumes the builder and constructs a SecretVersionsListEntry
.
Trait Implementations§
source§impl Clone for SecretVersionsListEntryBuilder
impl Clone for SecretVersionsListEntryBuilder
source§fn clone(&self) -> SecretVersionsListEntryBuilder
fn clone(&self) -> SecretVersionsListEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SecretVersionsListEntryBuilder
impl Default for SecretVersionsListEntryBuilder
source§fn default() -> SecretVersionsListEntryBuilder
fn default() -> SecretVersionsListEntryBuilder
source§impl PartialEq for SecretVersionsListEntryBuilder
impl PartialEq for SecretVersionsListEntryBuilder
source§fn eq(&self, other: &SecretVersionsListEntryBuilder) -> bool
fn eq(&self, other: &SecretVersionsListEntryBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SecretVersionsListEntryBuilder
Auto Trait Implementations§
impl Freeze for SecretVersionsListEntryBuilder
impl RefUnwindSafe for SecretVersionsListEntryBuilder
impl Send for SecretVersionsListEntryBuilder
impl Sync for SecretVersionsListEntryBuilder
impl Unpin for SecretVersionsListEntryBuilder
impl UnwindSafe for SecretVersionsListEntryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)