Class SecretReplicaArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.secretsmanager.inputs.SecretReplicaArgs.Builder
-
- Enclosing class:
- SecretReplicaArgs
public static final class SecretReplicaArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SecretReplicaArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretReplicaArgs
build()
SecretReplicaArgs.Builder
kmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)
SecretReplicaArgs.Builder
kmsKeyId(java.lang.String kmsKeyId)
SecretReplicaArgs.Builder
lastAccessedDate(com.pulumi.core.Output<java.lang.String> lastAccessedDate)
SecretReplicaArgs.Builder
lastAccessedDate(java.lang.String lastAccessedDate)
SecretReplicaArgs.Builder
region(com.pulumi.core.Output<java.lang.String> region)
SecretReplicaArgs.Builder
region(java.lang.String region)
SecretReplicaArgs.Builder
status(com.pulumi.core.Output<java.lang.String> status)
SecretReplicaArgs.Builder
status(java.lang.String status)
SecretReplicaArgs.Builder
statusMessage(com.pulumi.core.Output<java.lang.String> statusMessage)
SecretReplicaArgs.Builder
statusMessage(java.lang.String statusMessage)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SecretReplicaArgs defaults)
-
-
Method Detail
-
kmsKeyId
public SecretReplicaArgs.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId
- ARN, Key ID, or Alias of the AWS KMS key within the region secret is replicated to. If one is not specified, then Secrets Manager defaults to using the AWS account's default KMS key (`aws/secretsmanager`) in the region or creates one for use if non-existent.- Returns:
- builder
-
kmsKeyId
public SecretReplicaArgs.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId
- ARN, Key ID, or Alias of the AWS KMS key within the region secret is replicated to. If one is not specified, then Secrets Manager defaults to using the AWS account's default KMS key (`aws/secretsmanager`) in the region or creates one for use if non-existent.- Returns:
- builder
-
lastAccessedDate
public SecretReplicaArgs.Builder lastAccessedDate(@Nullable com.pulumi.core.Output<java.lang.String> lastAccessedDate)
- Parameters:
lastAccessedDate
- Date that you last accessed the secret in the Region.- Returns:
- builder
-
lastAccessedDate
public SecretReplicaArgs.Builder lastAccessedDate(java.lang.String lastAccessedDate)
- Parameters:
lastAccessedDate
- Date that you last accessed the secret in the Region.- Returns:
- builder
-
region
public SecretReplicaArgs.Builder region(com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region
- Region for replicating the secret.- Returns:
- builder
-
region
public SecretReplicaArgs.Builder region(java.lang.String region)
- Parameters:
region
- Region for replicating the secret.- Returns:
- builder
-
status
public SecretReplicaArgs.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- Status can be `InProgress`, `Failed`, or `InSync`.- Returns:
- builder
-
status
public SecretReplicaArgs.Builder status(java.lang.String status)
- Parameters:
status
- Status can be `InProgress`, `Failed`, or `InSync`.- Returns:
- builder
-
statusMessage
public SecretReplicaArgs.Builder statusMessage(@Nullable com.pulumi.core.Output<java.lang.String> statusMessage)
- Parameters:
statusMessage
- Message such as `Replication succeeded` or `Secret with this name already exists in this region`.- Returns:
- builder
-
statusMessage
public SecretReplicaArgs.Builder statusMessage(java.lang.String statusMessage)
- Parameters:
statusMessage
- Message such as `Replication succeeded` or `Secret with this name already exists in this region`.- Returns:
- builder
-
build
public SecretReplicaArgs build()
-
-