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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CacheNode.Builder
cacheNodeCreateTime(Instant cacheNodeCreateTime)
The date and time when the cache node was created.CacheNode.Builder
cacheNodeId(String cacheNodeId)
The cache node identifier.CacheNode.Builder
cacheNodeStatus(String cacheNodeStatus)
The current state of this cache node, one of the following values:available
,creating
,rebooting
, ordeleting
.CacheNode.Builder
customerAvailabilityZone(String customerAvailabilityZone)
The Availability Zone where this node was created and now resides.CacheNode.Builder
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.CacheNode.Builder
endpoint(Endpoint endpoint)
The hostname for connecting to this cache node.CacheNode.Builder
parameterGroupStatus(String parameterGroupStatus)
The status of the parameter group applied to this cache node.CacheNode.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
, 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
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 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:
endpoint(Endpoint)
-
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.
-
-