public static interface AwsSecretsManagerSecretDetails.Builder extends SdkPojo, CopyableBuilder<AwsSecretsManagerSecretDetails.Builder,AwsSecretsManagerSecretDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsSecretsManagerSecretDetails.Builder |
deleted(Boolean deleted)
Whether the secret is deleted.
|
AwsSecretsManagerSecretDetails.Builder |
description(String description)
The user-provided description of the secret.
|
AwsSecretsManagerSecretDetails.Builder |
kmsKeyId(String kmsKeyId)
The ARN, Key ID, or alias of the KMS key used to encrypt the
SecretString or
SecretBinary values for versions of this secret. |
AwsSecretsManagerSecretDetails.Builder |
name(String name)
The name of the secret.
|
AwsSecretsManagerSecretDetails.Builder |
rotationEnabled(Boolean rotationEnabled)
Whether rotation is enabled.
|
AwsSecretsManagerSecretDetails.Builder |
rotationLambdaArn(String rotationLambdaArn)
The ARN of the Lambda function that rotates the secret.
|
AwsSecretsManagerSecretDetails.Builder |
rotationOccurredWithinFrequency(Boolean rotationOccurredWithinFrequency)
Whether the rotation occurred within the specified rotation frequency.
|
AwsSecretsManagerSecretDetails.Builder |
rotationRules(AwsSecretsManagerSecretRotationRules rotationRules)
Defines the rotation schedule for the secret.
|
default AwsSecretsManagerSecretDetails.Builder |
rotationRules(Consumer<AwsSecretsManagerSecretRotationRules.Builder> rotationRules)
Defines the rotation schedule for the secret.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsSecretsManagerSecretDetails.Builder rotationRules(AwsSecretsManagerSecretRotationRules rotationRules)
Defines the rotation schedule for the secret.
rotationRules - Defines the rotation schedule for the secret.default AwsSecretsManagerSecretDetails.Builder rotationRules(Consumer<AwsSecretsManagerSecretRotationRules.Builder> rotationRules)
Defines the rotation schedule for the secret.
This is a convenience method that creates an instance of theAwsSecretsManagerSecretRotationRules.Builder avoiding the need to create one manually via
AwsSecretsManagerSecretRotationRules.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to rotationRules(AwsSecretsManagerSecretRotationRules).
rotationRules - a consumer that will call methods on AwsSecretsManagerSecretRotationRules.BuilderrotationRules(AwsSecretsManagerSecretRotationRules)AwsSecretsManagerSecretDetails.Builder rotationOccurredWithinFrequency(Boolean rotationOccurredWithinFrequency)
Whether the rotation occurred within the specified rotation frequency.
rotationOccurredWithinFrequency - Whether the rotation occurred within the specified rotation frequency.AwsSecretsManagerSecretDetails.Builder kmsKeyId(String kmsKeyId)
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString or
SecretBinary values for versions of this secret.
kmsKeyId - The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString or
SecretBinary values for versions of this secret.AwsSecretsManagerSecretDetails.Builder rotationEnabled(Boolean rotationEnabled)
Whether rotation is enabled.
rotationEnabled - Whether rotation is enabled.AwsSecretsManagerSecretDetails.Builder rotationLambdaArn(String rotationLambdaArn)
The ARN of the Lambda function that rotates the secret.
rotationLambdaArn - The ARN of the Lambda function that rotates the secret.AwsSecretsManagerSecretDetails.Builder deleted(Boolean deleted)
Whether the secret is deleted.
deleted - Whether the secret is deleted.AwsSecretsManagerSecretDetails.Builder name(String name)
The name of the secret.
name - The name of the secret.AwsSecretsManagerSecretDetails.Builder description(String description)
The user-provided description of the secret.
description - The user-provided description of the secret.Copyright © 2023. All rights reserved.