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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NodeSnapshot.Builder
cacheClusterId(String cacheClusterId)
A unique identifier for the source cluster.NodeSnapshot.Builder
cacheNodeCreateTime(Instant cacheNodeCreateTime)
The date and time when the cache node was created in the source cluster.NodeSnapshot.Builder
cacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cluster.NodeSnapshot.Builder
cacheSize(String cacheSize)
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).NodeSnapshot.Builder
nodeGroupConfiguration(NodeGroupConfiguration nodeGroupConfiguration)
The configuration for the source node group (shard).NodeSnapshot.Builder
nodeGroupId(String nodeGroupId)
A unique identifier for the source node group (shard).NodeSnapshot.Builder
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 Detail
-
cacheClusterId
NodeSnapshot.Builder cacheClusterId(String 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
NodeSnapshot.Builder nodeGroupId(String 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
NodeSnapshot.Builder cacheNodeId(String 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
NodeSnapshot.Builder nodeGroupConfiguration(NodeGroupConfiguration 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:
nodeGroupConfiguration(NodeGroupConfiguration)
-
cacheSize
NodeSnapshot.Builder cacheSize(String 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
NodeSnapshot.Builder cacheNodeCreateTime(Instant 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
NodeSnapshot.Builder snapshotCreateTime(Instant 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.
-
-