Interface NodeGroupConfiguration.Builder

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

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

    • nodeGroupId

      NodeGroupConfiguration.Builder nodeGroupId(String nodeGroupId)

      Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.

      Parameters:
      nodeGroupId - Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slots

      A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.

      Example: "0-3999"

      Parameters:
      slots - A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey.

      Example: "0-3999"

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

      NodeGroupConfiguration.Builder replicaCount(Integer replicaCount)

      The number of read replica nodes in this node group (shard).

      Parameters:
      replicaCount - The number of read replica nodes in this node group (shard).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryAvailabilityZone

      NodeGroupConfiguration.Builder primaryAvailabilityZone(String primaryAvailabilityZone)

      The Availability Zone where the primary node of this node group (shard) is launched.

      Parameters:
      primaryAvailabilityZone - The Availability Zone where the primary node of this node group (shard) is launched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaAvailabilityZones

      NodeGroupConfiguration.Builder replicaAvailabilityZones(Collection<String> replicaAvailabilityZones)

      A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified.

      Parameters:
      replicaAvailabilityZones - A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaAvailabilityZones

      NodeGroupConfiguration.Builder replicaAvailabilityZones(String... replicaAvailabilityZones)

      A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified.

      Parameters:
      replicaAvailabilityZones - A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount or ReplicasPerNodeGroup if not specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryOutpostArn

      NodeGroupConfiguration.Builder primaryOutpostArn(String primaryOutpostArn)

      The outpost ARN of the primary node.

      Parameters:
      primaryOutpostArn - The outpost ARN of the primary node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaOutpostArns

      NodeGroupConfiguration.Builder replicaOutpostArns(Collection<String> replicaOutpostArns)

      The outpost ARN of the node replicas.

      Parameters:
      replicaOutpostArns - The outpost ARN of the node replicas.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicaOutpostArns

      NodeGroupConfiguration.Builder replicaOutpostArns(String... replicaOutpostArns)

      The outpost ARN of the node replicas.

      Parameters:
      replicaOutpostArns - The outpost ARN of the node replicas.
      Returns:
      Returns a reference to this object so that method calls can be chained together.