#[non_exhaustive]pub struct AwsSecretsManagerSecretDetailsBuilder { /* private fields */ }Expand description
A builder for AwsSecretsManagerSecretDetails.
Implementations§
source§impl AwsSecretsManagerSecretDetailsBuilder
impl AwsSecretsManagerSecretDetailsBuilder
sourcepub fn rotation_rules(self, input: AwsSecretsManagerSecretRotationRules) -> Self
pub fn rotation_rules(self, input: AwsSecretsManagerSecretRotationRules) -> Self
Defines the rotation schedule for the secret.
sourcepub fn set_rotation_rules(
self,
input: Option<AwsSecretsManagerSecretRotationRules>,
) -> Self
pub fn set_rotation_rules( self, input: Option<AwsSecretsManagerSecretRotationRules>, ) -> Self
Defines the rotation schedule for the secret.
sourcepub fn get_rotation_rules(
&self,
) -> &Option<AwsSecretsManagerSecretRotationRules>
pub fn get_rotation_rules( &self, ) -> &Option<AwsSecretsManagerSecretRotationRules>
Defines the rotation schedule for the secret.
sourcepub fn rotation_occurred_within_frequency(self, input: bool) -> Self
pub fn rotation_occurred_within_frequency(self, input: bool) -> Self
Whether the rotation occurred within the specified rotation frequency.
sourcepub fn set_rotation_occurred_within_frequency(self, input: Option<bool>) -> Self
pub fn set_rotation_occurred_within_frequency(self, input: Option<bool>) -> Self
Whether the rotation occurred within the specified rotation frequency.
sourcepub fn get_rotation_occurred_within_frequency(&self) -> &Option<bool>
pub fn get_rotation_occurred_within_frequency(&self) -> &Option<bool>
Whether the rotation occurred within the specified rotation frequency.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString or SecretBinary values for versions of this secret.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString or SecretBinary values for versions of this secret.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString or SecretBinary values for versions of this secret.
sourcepub fn rotation_enabled(self, input: bool) -> Self
pub fn rotation_enabled(self, input: bool) -> Self
Whether rotation is enabled.
sourcepub fn set_rotation_enabled(self, input: Option<bool>) -> Self
pub fn set_rotation_enabled(self, input: Option<bool>) -> Self
Whether rotation is enabled.
sourcepub fn get_rotation_enabled(&self) -> &Option<bool>
pub fn get_rotation_enabled(&self) -> &Option<bool>
Whether rotation is enabled.
sourcepub fn rotation_lambda_arn(self, input: impl Into<String>) -> Self
pub fn rotation_lambda_arn(self, input: impl Into<String>) -> Self
The ARN of the Lambda function that rotates the secret.
sourcepub fn set_rotation_lambda_arn(self, input: Option<String>) -> Self
pub fn set_rotation_lambda_arn(self, input: Option<String>) -> Self
The ARN of the Lambda function that rotates the secret.
sourcepub fn get_rotation_lambda_arn(&self) -> &Option<String>
pub fn get_rotation_lambda_arn(&self) -> &Option<String>
The ARN of the Lambda function that rotates the secret.
sourcepub fn set_deleted(self, input: Option<bool>) -> Self
pub fn set_deleted(self, input: Option<bool>) -> Self
Whether the secret is deleted.
sourcepub fn get_deleted(&self) -> &Option<bool>
pub fn get_deleted(&self) -> &Option<bool>
Whether the secret is deleted.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The user-provided description of the secret.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The user-provided description of the secret.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The user-provided description of the secret.
sourcepub fn build(self) -> AwsSecretsManagerSecretDetails
pub fn build(self) -> AwsSecretsManagerSecretDetails
Consumes the builder and constructs a AwsSecretsManagerSecretDetails.
Trait Implementations§
source§impl Clone for AwsSecretsManagerSecretDetailsBuilder
impl Clone for AwsSecretsManagerSecretDetailsBuilder
source§fn clone(&self) -> AwsSecretsManagerSecretDetailsBuilder
fn clone(&self) -> AwsSecretsManagerSecretDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsSecretsManagerSecretDetailsBuilder
impl Default for AwsSecretsManagerSecretDetailsBuilder
source§fn default() -> AwsSecretsManagerSecretDetailsBuilder
fn default() -> AwsSecretsManagerSecretDetailsBuilder
source§impl PartialEq for AwsSecretsManagerSecretDetailsBuilder
impl PartialEq for AwsSecretsManagerSecretDetailsBuilder
source§fn eq(&self, other: &AwsSecretsManagerSecretDetailsBuilder) -> bool
fn eq(&self, other: &AwsSecretsManagerSecretDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsSecretsManagerSecretDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsSecretsManagerSecretDetailsBuilder
impl RefUnwindSafe for AwsSecretsManagerSecretDetailsBuilder
impl Send for AwsSecretsManagerSecretDetailsBuilder
impl Sync for AwsSecretsManagerSecretDetailsBuilder
impl Unpin for AwsSecretsManagerSecretDetailsBuilder
impl UnwindSafe for AwsSecretsManagerSecretDetailsBuilder
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)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more