Interface GlobalReplicationGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GlobalReplicationGroup.Builder,GlobalReplicationGroup>, SdkBuilder<GlobalReplicationGroup.Builder,GlobalReplicationGroup>, SdkPojo
Enclosing class:
GlobalReplicationGroup

public static interface GlobalReplicationGroup.Builder extends SdkPojo, CopyableBuilder<GlobalReplicationGroup.Builder,GlobalReplicationGroup>
  • Method Details

    • globalReplicationGroupId

      GlobalReplicationGroup.Builder globalReplicationGroupId(String globalReplicationGroupId)

      The name of the Global datastore

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

      GlobalReplicationGroup.Builder globalReplicationGroupDescription(String globalReplicationGroupDescription)

      The optional description of the Global datastore

      Parameters:
      globalReplicationGroupDescription - The optional description of the Global datastore
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the Global datastore

      Parameters:
      status - The status of the Global datastore
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheNodeType

      GlobalReplicationGroup.Builder cacheNodeType(String cacheNodeType)

      The cache node type of the Global datastore

      Parameters:
      cacheNodeType - The cache node type of the Global datastore
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engine

      The Elasticache engine. For Redis only.

      Parameters:
      engine - The Elasticache engine. For Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engineVersion

      GlobalReplicationGroup.Builder engineVersion(String engineVersion)

      The Elasticache Redis engine version.

      Parameters:
      engineVersion - The Elasticache Redis engine version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • members

      The replication groups that comprise the Global datastore.

      Parameters:
      members - The replication groups that comprise the Global datastore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • members

      The replication groups that comprise the Global datastore.

      Parameters:
      members - The replication groups that comprise the Global datastore.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • members

      The replication groups that comprise the Global datastore.

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

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

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

      GlobalReplicationGroup.Builder clusterEnabled(Boolean clusterEnabled)

      A flag that indicates whether the Global datastore is cluster enabled.

      Parameters:
      clusterEnabled - A flag that indicates whether the Global datastore is cluster enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • globalNodeGroups

      GlobalReplicationGroup.Builder globalNodeGroups(Collection<GlobalNodeGroup> globalNodeGroups)

      Indicates the slot configuration and global identifier for each slice group.

      Parameters:
      globalNodeGroups - Indicates the slot configuration and global identifier for each slice group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • globalNodeGroups

      GlobalReplicationGroup.Builder globalNodeGroups(GlobalNodeGroup... globalNodeGroups)

      Indicates the slot configuration and global identifier for each slice group.

      Parameters:
      globalNodeGroups - Indicates the slot configuration and global identifier for each slice group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • globalNodeGroups

      GlobalReplicationGroup.Builder globalNodeGroups(Consumer<GlobalNodeGroup.Builder>... globalNodeGroups)

      Indicates the slot configuration and global identifier for each slice group.

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

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

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

      GlobalReplicationGroup.Builder authTokenEnabled(Boolean authTokenEnabled)

      A flag that enables using an AuthToken (password) when issuing Redis commands.

      Default: false

      Parameters:
      authTokenEnabled - A flag that enables using an AuthToken (password) when issuing Redis commands.

      Default: false

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

      GlobalReplicationGroup.Builder transitEncryptionEnabled(Boolean transitEncryptionEnabled)

      A flag that enables in-transit encryption when set to true.

      Required: Only available when creating a replication group in an Amazon VPC using redis version 3.2.6, 4.x or later.

      Parameters:
      transitEncryptionEnabled - A flag that enables in-transit encryption when set to true.

      Required: Only available when creating a replication group in an Amazon VPC using redis version 3.2.6, 4.x or later.

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

      GlobalReplicationGroup.Builder atRestEncryptionEnabled(Boolean atRestEncryptionEnabled)

      A flag that enables encryption at rest when set to true.

      You cannot modify the value of AtRestEncryptionEnabled after the replication group is created. To enable encryption at rest on a replication group you must set AtRestEncryptionEnabled to true when you create the replication group.

      Required: Only available when creating a replication group in an Amazon VPC using redis version 3.2.6, 4.x or later.

      Parameters:
      atRestEncryptionEnabled - A flag that enables encryption at rest when set to true.

      You cannot modify the value of AtRestEncryptionEnabled after the replication group is created. To enable encryption at rest on a replication group you must set AtRestEncryptionEnabled to true when you create the replication group.

      Required: Only available when creating a replication group in an Amazon VPC using redis version 3.2.6, 4.x or later.

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

      The ARN (Amazon Resource Name) of the global replication group.

      Parameters:
      arn - The ARN (Amazon Resource Name) of the global replication group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.