Interface NodeSnapshot.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeSnapshot.Builder,
,NodeSnapshot> SdkBuilder<NodeSnapshot.Builder,
,NodeSnapshot> SdkPojo
- Enclosing class:
NodeSnapshot
public static interface NodeSnapshot.Builder
extends SdkPojo, CopyableBuilder<NodeSnapshot.Builder,NodeSnapshot>
-
Method Summary
Modifier and TypeMethodDescriptioncacheClusterId
(String cacheClusterId) A unique identifier for the source cluster.cacheNodeCreateTime
(Instant cacheNodeCreateTime) The date and time when the cache node was created in the source cluster.cacheNodeId
(String cacheNodeId) The cache node identifier for the node in the source cluster.The size of the cache on the source cache node.default NodeSnapshot.Builder
nodeGroupConfiguration
(Consumer<NodeGroupConfiguration.Builder> nodeGroupConfiguration) The configuration for the source node group (shard).nodeGroupConfiguration
(NodeGroupConfiguration nodeGroupConfiguration) The configuration for the source node group (shard).nodeGroupId
(String nodeGroupId) A unique identifier for the source node group (shard).snapshotCreateTime
(Instant snapshotCreateTime) The date and time when the source node's metadata and cache data set was obtained for the snapshot.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
-
cacheClusterId
A unique identifier for the source cluster.
- Parameters:
cacheClusterId
- A unique identifier for the source cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeGroupId
A unique identifier for the source node group (shard).
- Parameters:
nodeGroupId
- A unique identifier for the source node group (shard).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheNodeId
The cache node identifier for the node in the source cluster.
- Parameters:
cacheNodeId
- The cache node identifier for the node in the source cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeGroupConfiguration
The configuration for the source node group (shard).
- Parameters:
nodeGroupConfiguration
- The configuration for the source node group (shard).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeGroupConfiguration
default NodeSnapshot.Builder nodeGroupConfiguration(Consumer<NodeGroupConfiguration.Builder> nodeGroupConfiguration) The configuration for the source node group (shard).
This is a convenience method that creates an instance of theNodeGroupConfiguration.Builder
avoiding the need to create one manually viaNodeGroupConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeGroupConfiguration(NodeGroupConfiguration)
.- Parameters:
nodeGroupConfiguration
- a consumer that will call methods onNodeGroupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cacheSize
The size of the cache on the source cache node.
- Parameters:
cacheSize
- The size of the cache on the source cache node.- 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 in the source cluster.
- Parameters:
cacheNodeCreateTime
- The date and time when the cache node was created in the source cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCreateTime
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
- Parameters:
snapshotCreateTime
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-