Class TableReplicaArgs.Builder

  • Enclosing class:
    TableReplicaArgs

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

      • Builder

        public Builder()
    • Method Detail

      • deletionProtectionEnabled

        public TableReplicaArgs.Builder deletionProtectionEnabled​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> deletionProtectionEnabled)
        Parameters:
        deletionProtectionEnabled - Whether deletion protection is enabled (true) or disabled (false) on the table replica.
        Returns:
        builder
      • deletionProtectionEnabled

        public TableReplicaArgs.Builder deletionProtectionEnabled​(java.lang.Boolean deletionProtectionEnabled)
        Parameters:
        deletionProtectionEnabled - Whether deletion protection is enabled (true) or disabled (false) on the table replica.
        Returns:
        builder
      • globalTableArn

        public TableReplicaArgs.Builder globalTableArn​(com.pulumi.core.Output<java.lang.String> globalTableArn)
        Parameters:
        globalTableArn - ARN of the _main_ or global table which this resource will replicate. The following arguments are optional:
        Returns:
        builder
      • globalTableArn

        public TableReplicaArgs.Builder globalTableArn​(java.lang.String globalTableArn)
        Parameters:
        globalTableArn - ARN of the _main_ or global table which this resource will replicate. The following arguments are optional:
        Returns:
        builder
      • kmsKeyArn

        public TableReplicaArgs.Builder kmsKeyArn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
        Returns:
        builder
      • kmsKeyArn

        public TableReplicaArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
        Returns:
        builder
      • pointInTimeRecovery

        public TableReplicaArgs.Builder pointInTimeRecovery​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> pointInTimeRecovery)
        Parameters:
        pointInTimeRecovery - Whether to enable Point In Time Recovery for the table replica. Default is `false`.
        Returns:
        builder
      • pointInTimeRecovery

        public TableReplicaArgs.Builder pointInTimeRecovery​(java.lang.Boolean pointInTimeRecovery)
        Parameters:
        pointInTimeRecovery - Whether to enable Point In Time Recovery for the table replica. Default is `false`.
        Returns:
        builder
      • region

        public TableReplicaArgs.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public TableReplicaArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tableClassOverride

        public TableReplicaArgs.Builder tableClassOverride​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> tableClassOverride)
        Parameters:
        tableClassOverride - Storage class of the table replica. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. If not used, the table replica will use the same class as the global table.
        Returns:
        builder
      • tableClassOverride

        public TableReplicaArgs.Builder tableClassOverride​(java.lang.String tableClassOverride)
        Parameters:
        tableClassOverride - Storage class of the table replica. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. If not used, the table replica will use the same class as the global table.
        Returns:
        builder
      • tags

        public TableReplicaArgs.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public TableReplicaArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder