Class SecretReplicaArgs.Builder

  • Enclosing class:
    SecretReplicaArgs

    public static final class SecretReplicaArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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