Interface CacheNode.Builder

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

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

    • cacheNodeId

      CacheNode.Builder cacheNodeId(String cacheNodeId)

      The cache node identifier. A node ID is a numeric identifier (0001, 0002, etc.). The combination of cluster ID and node ID uniquely identifies every cache node used in a customer's Amazon account.

      Parameters:
      cacheNodeId - The cache node identifier. A node ID is a numeric identifier (0001, 0002, etc.). The combination of cluster ID and node ID uniquely identifies every cache node used in a customer's Amazon account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheNodeStatus

      CacheNode.Builder cacheNodeStatus(String cacheNodeStatus)

      The current state of this cache node, one of the following values: available, creating, rebooting, or deleting.

      Parameters:
      cacheNodeStatus - The current state of this cache node, one of the following values: available, creating, rebooting, or deleting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheNodeCreateTime

      CacheNode.Builder cacheNodeCreateTime(Instant cacheNodeCreateTime)

      The date and time when the cache node was created.

      Parameters:
      cacheNodeCreateTime - The date and time when the cache node was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      CacheNode.Builder endpoint(Endpoint endpoint)

      The hostname for connecting to this cache node.

      Parameters:
      endpoint - The hostname for connecting to this cache node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      default CacheNode.Builder endpoint(Consumer<Endpoint.Builder> endpoint)

      The hostname for connecting to this cache node.

      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 endpoint(Endpoint).

      Parameters:
      endpoint - 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:
    • parameterGroupStatus

      CacheNode.Builder parameterGroupStatus(String parameterGroupStatus)

      The status of the parameter group applied to this cache node.

      Parameters:
      parameterGroupStatus - The status of the parameter group applied to this cache node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceCacheNodeId

      CacheNode.Builder sourceCacheNodeId(String sourceCacheNodeId)

      The ID of the primary node to which this read replica node is synchronized. If this field is empty, this node is not associated with a primary cluster.

      Parameters:
      sourceCacheNodeId - The ID of the primary node to which this read replica node is synchronized. If this field is empty, this node is not associated with a primary cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerAvailabilityZone

      CacheNode.Builder customerAvailabilityZone(String customerAvailabilityZone)

      The Availability Zone where this node was created and now resides.

      Parameters:
      customerAvailabilityZone - The Availability Zone where this node was created and now resides.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerOutpostArn

      CacheNode.Builder customerOutpostArn(String customerOutpostArn)

      The customer outpost ARN of the cache node.

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