Class ReplicationSetState.Builder

  • Enclosing class:
    ReplicationSetState

    public static final class ReplicationSetState.Builder
    extends java.lang.Object
    • 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
      • 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