public static interface NodeSnapshot.Builder extends CopyableBuilder<NodeSnapshot.Builder,NodeSnapshot>
Modifier and Type | Method and 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.
|
copy
applyMutation, build
NodeSnapshot.Builder cacheClusterId(String cacheClusterId)
A unique identifier for the source cluster.
cacheClusterId
- A unique identifier for the source cluster.NodeSnapshot.Builder nodeGroupId(String nodeGroupId)
A unique identifier for the source node group (shard).
nodeGroupId
- A unique identifier for the source node group (shard).NodeSnapshot.Builder cacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cluster.
cacheNodeId
- The cache node identifier for the node in the source cluster.NodeSnapshot.Builder nodeGroupConfiguration(NodeGroupConfiguration nodeGroupConfiguration)
The configuration for the source node group (shard).
nodeGroupConfiguration
- The configuration for the source node group (shard).default NodeSnapshot.Builder nodeGroupConfiguration(Consumer<NodeGroupConfiguration.Builder> nodeGroupConfiguration)
The configuration for the source node group (shard).
This is a convenience that creates an instance of theNodeGroupConfiguration.Builder
avoiding the
need to create one manually via NodeGroupConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to nodeGroupConfiguration(NodeGroupConfiguration)
.nodeGroupConfiguration
- a consumer that will call methods on NodeGroupConfiguration.Builder
nodeGroupConfiguration(NodeGroupConfiguration)
NodeSnapshot.Builder cacheSize(String cacheSize)
The size of the cache on the source cache node.
cacheSize
- The size of the cache on the source cache node.NodeSnapshot.Builder cacheNodeCreateTime(Instant cacheNodeCreateTime)
The date and time when the cache node was created in the source cluster.
cacheNodeCreateTime
- The date and time when the cache node was created in the source cluster.NodeSnapshot.Builder snapshotCreateTime(Instant snapshotCreateTime)
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
snapshotCreateTime
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.