#[non_exhaustive]pub struct SecretValueEntryBuilder { /* private fields */ }
Expand description
A builder for SecretValueEntry
.
Implementations§
source§impl SecretValueEntryBuilder
impl SecretValueEntryBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the secret.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the secret.
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 secret_binary(self, input: Blob) -> Self
pub fn secret_binary(self, input: Blob) -> Self
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.
sourcepub fn set_secret_binary(self, input: Option<Blob>) -> Self
pub fn set_secret_binary(self, input: Option<Blob>) -> Self
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.
sourcepub fn get_secret_binary(&self) -> &Option<Blob>
pub fn get_secret_binary(&self) -> &Option<Blob>
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The parameter represents the binary data as a base64-encoded string.
sourcepub fn secret_string(self, input: impl Into<String>) -> Self
pub fn secret_string(self, input: impl Into<String>) -> Self
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
sourcepub fn set_secret_string(self, input: Option<String>) -> Self
pub fn set_secret_string(self, input: Option<String>) -> Self
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
sourcepub fn get_secret_string(&self) -> &Option<String>
pub fn get_secret_string(&self) -> &Option<String>
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
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
.
A list of all of the staging labels currently attached to 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
A list of all of the staging labels currently attached to this version of the secret.
sourcepub fn get_version_stages(&self) -> &Option<Vec<String>>
pub fn get_version_stages(&self) -> &Option<Vec<String>>
A list of all of the staging labels currently attached to this version of the secret.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date 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 the secret was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date the secret was created.
sourcepub fn build(self) -> SecretValueEntry
pub fn build(self) -> SecretValueEntry
Consumes the builder and constructs a SecretValueEntry
.
Trait Implementations§
source§impl Clone for SecretValueEntryBuilder
impl Clone for SecretValueEntryBuilder
source§fn clone(&self) -> SecretValueEntryBuilder
fn clone(&self) -> SecretValueEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SecretValueEntryBuilder
impl Debug for SecretValueEntryBuilder
source§impl Default for SecretValueEntryBuilder
impl Default for SecretValueEntryBuilder
source§fn default() -> SecretValueEntryBuilder
fn default() -> SecretValueEntryBuilder
source§impl PartialEq for SecretValueEntryBuilder
impl PartialEq for SecretValueEntryBuilder
impl StructuralPartialEq for SecretValueEntryBuilder
Auto Trait Implementations§
impl Freeze for SecretValueEntryBuilder
impl RefUnwindSafe for SecretValueEntryBuilder
impl Send for SecretValueEntryBuilder
impl Sync for SecretValueEntryBuilder
impl Unpin for SecretValueEntryBuilder
impl UnwindSafe for SecretValueEntryBuilder
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
)