Interface AwsSecretsManagerSecretDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsSecretsManagerSecretDetails.Builder,AwsSecretsManagerSecretDetails>,SdkBuilder<AwsSecretsManagerSecretDetails.Builder,AwsSecretsManagerSecretDetails>,SdkPojo
- Enclosing class:
- AwsSecretsManagerSecretDetails
public static interface AwsSecretsManagerSecretDetails.Builder extends SdkPojo, CopyableBuilder<AwsSecretsManagerSecretDetails.Builder,AwsSecretsManagerSecretDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsSecretsManagerSecretDetails.Builderdeleted(Boolean deleted)Whether the secret is deleted.AwsSecretsManagerSecretDetails.Builderdescription(String description)The user-provided description of the secret.AwsSecretsManagerSecretDetails.BuilderkmsKeyId(String kmsKeyId)The ARN, Key ID, or alias of the KMS key used to encrypt theSecretStringorSecretBinaryvalues for versions of this secret.AwsSecretsManagerSecretDetails.Buildername(String name)The name of the secret.AwsSecretsManagerSecretDetails.BuilderrotationEnabled(Boolean rotationEnabled)Whether rotation is enabled.AwsSecretsManagerSecretDetails.BuilderrotationLambdaArn(String rotationLambdaArn)The ARN of the Lambda function that rotates the secret.AwsSecretsManagerSecretDetails.BuilderrotationOccurredWithinFrequency(Boolean rotationOccurredWithinFrequency)Whether the rotation occurred within the specified rotation frequency.default AwsSecretsManagerSecretDetails.BuilderrotationRules(Consumer<AwsSecretsManagerSecretRotationRules.Builder> rotationRules)Defines the rotation schedule for the secret.AwsSecretsManagerSecretDetails.BuilderrotationRules(AwsSecretsManagerSecretRotationRules rotationRules)Defines the rotation schedule for the secret.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
rotationRules
AwsSecretsManagerSecretDetails.Builder rotationRules(AwsSecretsManagerSecretRotationRules rotationRules)
Defines the rotation schedule for the secret.
- Parameters:
rotationRules- Defines the rotation schedule for the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationRules
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.Builderavoiding the need to create one manually viaAwsSecretsManagerSecretRotationRules.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torotationRules(AwsSecretsManagerSecretRotationRules).- Parameters:
rotationRules- a consumer that will call methods onAwsSecretsManagerSecretRotationRules.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rotationRules(AwsSecretsManagerSecretRotationRules)
-
rotationOccurredWithinFrequency
AwsSecretsManagerSecretDetails.Builder rotationOccurredWithinFrequency(Boolean rotationOccurredWithinFrequency)
Whether the rotation occurred within the specified rotation frequency.
- Parameters:
rotationOccurredWithinFrequency- Whether the rotation occurred within the specified rotation frequency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
AwsSecretsManagerSecretDetails.Builder kmsKeyId(String kmsKeyId)
The ARN, Key ID, or alias of the KMS key used to encrypt the
SecretStringorSecretBinaryvalues for versions of this secret.- Parameters:
kmsKeyId- The ARN, Key ID, or alias of the KMS key used to encrypt theSecretStringorSecretBinaryvalues for versions of this secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationEnabled
AwsSecretsManagerSecretDetails.Builder rotationEnabled(Boolean rotationEnabled)
Whether rotation is enabled.
- Parameters:
rotationEnabled- Whether rotation is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationLambdaArn
AwsSecretsManagerSecretDetails.Builder rotationLambdaArn(String rotationLambdaArn)
The ARN of the Lambda function that rotates the secret.
- Parameters:
rotationLambdaArn- The ARN of the Lambda function that rotates the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleted
AwsSecretsManagerSecretDetails.Builder deleted(Boolean deleted)
Whether the secret is deleted.
- Parameters:
deleted- Whether the secret is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AwsSecretsManagerSecretDetails.Builder name(String name)
The name of the secret.
- Parameters:
name- The name of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AwsSecretsManagerSecretDetails.Builder description(String description)
The user-provided description of the secret.
- Parameters:
description- The user-provided description of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-