Package com.pulumi.aws.dynamodb.inputs
Class TableReplicaState.Builder
- java.lang.Object
-
- com.pulumi.aws.dynamodb.inputs.TableReplicaState.Builder
-
- Enclosing class:
- TableReplicaState
public static final class TableReplicaState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(TableReplicaState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableReplicaState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)TableReplicaState.Builderarn(java.lang.String arn)TableReplicaStatebuild()TableReplicaState.BuilderdeletionProtectionEnabled(com.pulumi.core.Output<java.lang.Boolean> deletionProtectionEnabled)TableReplicaState.BuilderdeletionProtectionEnabled(java.lang.Boolean deletionProtectionEnabled)TableReplicaState.BuilderglobalTableArn(com.pulumi.core.Output<java.lang.String> globalTableArn)TableReplicaState.BuilderglobalTableArn(java.lang.String globalTableArn)TableReplicaState.BuilderkmsKeyArn(com.pulumi.core.Output<java.lang.String> kmsKeyArn)TableReplicaState.BuilderkmsKeyArn(java.lang.String kmsKeyArn)TableReplicaState.BuilderpointInTimeRecovery(com.pulumi.core.Output<java.lang.Boolean> pointInTimeRecovery)TableReplicaState.BuilderpointInTimeRecovery(java.lang.Boolean pointInTimeRecovery)TableReplicaState.Builderregion(com.pulumi.core.Output<java.lang.String> region)TableReplicaState.Builderregion(java.lang.String region)TableReplicaState.BuildertableClassOverride(com.pulumi.core.Output<java.lang.String> tableClassOverride)TableReplicaState.BuildertableClassOverride(java.lang.String tableClassOverride)TableReplicaState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)TableReplicaState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)TableReplicaState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)TableReplicaState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TableReplicaState defaults)
-
-
Method Detail
-
arn
public TableReplicaState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the table replica.- Returns:
- builder
-
arn
public TableReplicaState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the table replica.- Returns:
- builder
-
deletionProtectionEnabled
public TableReplicaState.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 TableReplicaState.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 TableReplicaState.Builder globalTableArn(@Nullable 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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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 TableReplicaState.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
-
tagsAll
public TableReplicaState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public TableReplicaState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public TableReplicaState build()
-
-