Class ReplicationSetState.Builder
- java.lang.Object
-
- com.pulumi.aws.ssmincidents.inputs.ReplicationSetState.Builder
-
- Enclosing class:
- ReplicationSetState
public static final class ReplicationSetState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ReplicationSetState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ReplicationSetState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)ReplicationSetState.Builderarn(java.lang.String arn)ReplicationSetStatebuild()ReplicationSetState.BuildercreatedBy(com.pulumi.core.Output<java.lang.String> createdBy)ReplicationSetState.BuildercreatedBy(java.lang.String createdBy)ReplicationSetState.BuilderdeletionProtected(com.pulumi.core.Output<java.lang.Boolean> deletionProtected)ReplicationSetState.BuilderdeletionProtected(java.lang.Boolean deletionProtected)ReplicationSetState.BuilderlastModifiedBy(com.pulumi.core.Output<java.lang.String> lastModifiedBy)ReplicationSetState.BuilderlastModifiedBy(java.lang.String lastModifiedBy)ReplicationSetState.Builderregion(ReplicationSetRegionArgs... region)Deprecated.region is deprecated.ReplicationSetState.Builderregion(com.pulumi.core.Output<java.util.List<ReplicationSetRegionArgs>> region)Deprecated.region is deprecated.ReplicationSetState.Builderregion(java.util.List<ReplicationSetRegionArgs> region)Deprecated.region is deprecated.ReplicationSetState.Builderregions(ReplicationSetRegionArgs... regions)ReplicationSetState.Builderregions(com.pulumi.core.Output<java.util.List<ReplicationSetRegionArgs>> regions)ReplicationSetState.Builderregions(java.util.List<ReplicationSetRegionArgs> regions)ReplicationSetState.Builderstatus(com.pulumi.core.Output<java.lang.String> status)ReplicationSetState.Builderstatus(java.lang.String status)ReplicationSetState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ReplicationSetState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)ReplicationSetState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)ReplicationSetState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ReplicationSetState defaults)
-
-
Method Detail
-
arn
public ReplicationSetState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- The ARN of the replication set.- Returns:
- builder
-
arn
public ReplicationSetState.Builder arn(java.lang.String arn)
- Parameters:
arn- The ARN of the replication set.- Returns:
- builder
-
createdBy
public ReplicationSetState.Builder createdBy(@Nullable com.pulumi.core.Output<java.lang.String> createdBy)
- Parameters:
createdBy- The ARN of the user who created the replication set.- Returns:
- builder
-
createdBy
public ReplicationSetState.Builder createdBy(java.lang.String createdBy)
- Parameters:
createdBy- The ARN of the user who created the replication set.- Returns:
- builder
-
deletionProtected
public ReplicationSetState.Builder deletionProtected(@Nullable com.pulumi.core.Output<java.lang.Boolean> deletionProtected)
- Parameters:
deletionProtected- If `true`, the last region in a replication set cannot be deleted.- Returns:
- builder
-
deletionProtected
public ReplicationSetState.Builder deletionProtected(java.lang.Boolean deletionProtected)
- Parameters:
deletionProtected- If `true`, the last region in a replication set cannot be deleted.- Returns:
- builder
-
lastModifiedBy
public ReplicationSetState.Builder lastModifiedBy(@Nullable com.pulumi.core.Output<java.lang.String> lastModifiedBy)
- Parameters:
lastModifiedBy- A timestamp showing when the replication set was last modified.- Returns:
- builder
-
lastModifiedBy
public ReplicationSetState.Builder lastModifiedBy(java.lang.String lastModifiedBy)
- Parameters:
lastModifiedBy- A timestamp showing when the replication set was last modified.- Returns:
- builder
-
region
@Deprecated public ReplicationSetState.Builder region(@Nullable com.pulumi.core.Output<java.util.List<ReplicationSetRegionArgs>> region)
Deprecated.region is deprecated. Use regions instead.- Parameters:
region- The replication set's Regions. Use `regions` instead.- Returns:
- builder
-
region
@Deprecated public ReplicationSetState.Builder region(java.util.List<ReplicationSetRegionArgs> region)
Deprecated.region is deprecated. Use regions instead.- Parameters:
region- The replication set's Regions. Use `regions` instead.- Returns:
- builder
-
region
@Deprecated public ReplicationSetState.Builder region(ReplicationSetRegionArgs... region)
Deprecated.region is deprecated. Use regions instead.- Parameters:
region- The replication set's Regions. Use `regions` instead.- Returns:
- builder
-
regions
public ReplicationSetState.Builder regions(@Nullable com.pulumi.core.Output<java.util.List<ReplicationSetRegionArgs>> regions)
- Parameters:
regions- The replication set's Regions.- Returns:
- builder
-
regions
public ReplicationSetState.Builder regions(java.util.List<ReplicationSetRegionArgs> regions)
- Parameters:
regions- The replication set's Regions.- Returns:
- builder
-
regions
public ReplicationSetState.Builder regions(ReplicationSetRegionArgs... regions)
- Parameters:
regions- The replication set's Regions.- Returns:
- builder
-
status
public ReplicationSetState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status- The current status of the Region. * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`- Returns:
- builder
-
status
public ReplicationSetState.Builder status(java.lang.String status)
- Parameters:
status- The current status of the Region. * Valid Values: `ACTIVE` | `CREATING` | `UPDATING` | `DELETING` | `FAILED`- Returns:
- builder
-
tags
public ReplicationSetState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. For information about the maximum allowed number of Regions and tag value constraints, see [CreateReplicationSet in the *AWS Systems Manager Incident Manager API Reference*](https://docs.aws.amazon.com/incident-manager/latest/APIReference/API_CreateReplicationSet.html). > **NOTE:** The Region specified by a provider must always be one of the Regions specified for the replication set. This is especially important when you perform complex update operations. > **NOTE:** After a replication set is created, you can add or delete only one Region at a time. > **NOTE:** Incident Manager does not support updating the customer managed key associated with a replication set. Instead, for a replication set with multiple Regions, you must first delete a Region from the replication set, then re-add it with a different customer managed key in separate deploy operations. For a replication set with only one Region, the entire replication set must be deleted and recreated. To do this, comment out the replication set and all response plans, and then run the deploy command to recreate the replication set with the new customer managed key. > **NOTE:** You must either use AWS-owned keys on all regions of a replication set, or customer managed keys. To change between an AWS owned key and a customer managed key, a replication set and it associated data must be deleted and recreated. > **NOTE:** If possible, create all the customer managed keys you need (using the deploy command) before you create the replication set, or create the keys and replication set in the same deploy command. Otherwise, to delete a replication set, you must run one deploy command to delete the replication set and another to delete the AWS KMS keys used by the replication set. Deleting the AWS KMS keys before deleting the replication set results in an error. In that case, you must manually reenable the deleted key using the AWS Management Console before you can delete the replication set.- Returns:
- builder
-
tags
public ReplicationSetState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. For information about the maximum allowed number of Regions and tag value constraints, see [CreateReplicationSet in the *AWS Systems Manager Incident Manager API Reference*](https://docs.aws.amazon.com/incident-manager/latest/APIReference/API_CreateReplicationSet.html). > **NOTE:** The Region specified by a provider must always be one of the Regions specified for the replication set. This is especially important when you perform complex update operations. > **NOTE:** After a replication set is created, you can add or delete only one Region at a time. > **NOTE:** Incident Manager does not support updating the customer managed key associated with a replication set. Instead, for a replication set with multiple Regions, you must first delete a Region from the replication set, then re-add it with a different customer managed key in separate deploy operations. For a replication set with only one Region, the entire replication set must be deleted and recreated. To do this, comment out the replication set and all response plans, and then run the deploy command to recreate the replication set with the new customer managed key. > **NOTE:** You must either use AWS-owned keys on all regions of a replication set, or customer managed keys. To change between an AWS owned key and a customer managed key, a replication set and it associated data must be deleted and recreated. > **NOTE:** If possible, create all the customer managed keys you need (using the deploy command) before you create the replication set, or create the keys and replication set in the same deploy command. Otherwise, to delete a replication set, you must run one deploy command to delete the replication set and another to delete the AWS KMS keys used by the replication set. Deleting the AWS KMS keys before deleting the replication set results in an error. In that case, you must manually reenable the deleted key using the AWS Management Console before you can delete the replication set.- Returns:
- builder
-
tagsAll
public ReplicationSetState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public ReplicationSetState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public ReplicationSetState build()
-
-