public static final class CfnSecret.ReplicaRegionProperty.Builder
extends java.lang.Object
CfnSecret.ReplicaRegionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSecret.ReplicaRegionProperty |
build()
Builds the configured instance.
|
CfnSecret.ReplicaRegionProperty.Builder |
kmsKeyId(java.lang.String kmsKeyId)
Sets the value of
CfnSecret.ReplicaRegionProperty.getKmsKeyId() |
CfnSecret.ReplicaRegionProperty.Builder |
region(java.lang.String region)
Sets the value of
CfnSecret.ReplicaRegionProperty.getRegion() |
public CfnSecret.ReplicaRegionProperty.Builder region(java.lang.String region)
CfnSecret.ReplicaRegionProperty.getRegion()
region
- (Optional) A string that represents a `Region` , for example "us-east-1". This parameter is required.this
public CfnSecret.ReplicaRegionProperty.Builder kmsKeyId(java.lang.String kmsKeyId)
CfnSecret.ReplicaRegionProperty.getKmsKeyId()
kmsKeyId
- The ARN, key ID, or alias of the KMS key to encrypt the secret.
If you don't include this field, Secrets Manager uses aws/secretsmanager
.this
public CfnSecret.ReplicaRegionProperty build()
CfnSecret.ReplicaRegionProperty
java.lang.NullPointerException
- if any required attribute was not provided