#[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 ==
.