Interface NodeGroupMember.Builder

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

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

    • cacheClusterId

      NodeGroupMember.Builder cacheClusterId(String cacheClusterId)

      The ID of the cluster to which the node belongs.

      Parameters:
      cacheClusterId - The ID of the cluster to which the node belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheNodeId

      NodeGroupMember.Builder cacheNodeId(String cacheNodeId)

      The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).

      Parameters:
      cacheNodeId - The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readEndpoint

      NodeGroupMember.Builder readEndpoint(Endpoint readEndpoint)

      The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Redis (cluster mode disabled) clusters.

      Parameters:
      readEndpoint - The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Redis (cluster mode disabled) clusters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readEndpoint

      default NodeGroupMember.Builder readEndpoint(Consumer<Endpoint.Builder> readEndpoint)

      The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Redis (cluster mode disabled) clusters.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to readEndpoint(Endpoint).

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

      NodeGroupMember.Builder preferredAvailabilityZone(String preferredAvailabilityZone)

      The name of the Availability Zone in which the node is located.

      Parameters:
      preferredAvailabilityZone - The name of the Availability Zone in which the node is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preferredOutpostArn

      NodeGroupMember.Builder preferredOutpostArn(String preferredOutpostArn)

      The outpost ARN of the node group member.

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

      NodeGroupMember.Builder currentRole(String currentRole)

      The role that is currently assigned to the node - primary or replica. This member is only applicable for Redis (cluster mode disabled) replication groups.

      Parameters:
      currentRole - The role that is currently assigned to the node - primary or replica. This member is only applicable for Redis (cluster mode disabled) replication groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.