Interface CreateGlobalReplicationGroupRequest.Builder

  • Method Details

    • globalReplicationGroupIdSuffix

      CreateGlobalReplicationGroupRequest.Builder globalReplicationGroupIdSuffix(String globalReplicationGroupIdSuffix)

      The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.

      For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .

      Parameters:
      globalReplicationGroupIdSuffix - The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.

      For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • globalReplicationGroupDescription

      CreateGlobalReplicationGroupRequest.Builder globalReplicationGroupDescription(String globalReplicationGroupDescription)

      Provides details of the Global datastore

      Parameters:
      globalReplicationGroupDescription - Provides details of the Global datastore
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryReplicationGroupId

      CreateGlobalReplicationGroupRequest.Builder primaryReplicationGroupId(String primaryReplicationGroupId)

      The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster. This value is stored as a lowercase string.

      Parameters:
      primaryReplicationGroupId - The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster. This value is stored as a lowercase string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

      Parameters:
      tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

      Parameters:
      tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.