Interface CacheNode.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CacheNode.Builder,
,CacheNode> SdkBuilder<CacheNode.Builder,
,CacheNode> SdkPojo
- Enclosing class:
CacheNode
-
Method Summary
Modifier and TypeMethodDescriptioncacheNodeCreateTime
(Instant cacheNodeCreateTime) The date and time when the cache node was created.cacheNodeId
(String cacheNodeId) The cache node identifier.cacheNodeStatus
(String cacheNodeStatus) The current state of this cache node, one of the following values:available
,creating
,rebooting
, ordeleting
.customerAvailabilityZone
(String customerAvailabilityZone) The Availability Zone where this node was created and now resides.customerOutpostArn
(String customerOutpostArn) The customer outpost ARN of the cache node.default CacheNode.Builder
endpoint
(Consumer<Endpoint.Builder> endpoint) The hostname for connecting to this cache node.The hostname for connecting to this cache node.parameterGroupStatus
(String parameterGroupStatus) The status of the parameter group applied to this cache node.sourceCacheNodeId
(String sourceCacheNodeId) The ID of the primary node to which this read replica node is synchronized.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
The current state of this cache node, one of the following values:
available
,creating
,rebooting
, ordeleting
.- Parameters:
cacheNodeStatus
- The current state of this cache node, one of the following values:available
,creating
,rebooting
, ordeleting
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
The hostname for connecting to this cache node.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoint(Endpoint)
.- Parameters:
endpoint
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.
-