CopyableBuilder<PendingModifiedValues.Builder,PendingModifiedValues>
, SdkBuilder<PendingModifiedValues.Builder,PendingModifiedValues>
public static interface PendingModifiedValues.Builder extends CopyableBuilder<PendingModifiedValues.Builder,PendingModifiedValues>
Modifier and Type | Method | Description |
---|---|---|
PendingModifiedValues.Builder |
cacheNodeIdsToRemove(String... cacheNodeIdsToRemove) |
A list of cache node IDs that are being removed (or will be removed) from the cache cluster.
|
PendingModifiedValues.Builder |
cacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove) |
A list of cache node IDs that are being removed (or will be removed) from the cache cluster.
|
PendingModifiedValues.Builder |
cacheNodeType(String cacheNodeType) |
The cache node type that this cache cluster or replication group is scaled to.
|
PendingModifiedValues.Builder |
engineVersion(String engineVersion) |
The new cache engine version that the cache cluster runs.
|
PendingModifiedValues.Builder |
numCacheNodes(Integer numCacheNodes) |
The new number of cache nodes for the cache cluster.
|
copy
apply, build
PendingModifiedValues.Builder numCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
numCacheNodes
- The new number of cache nodes for the cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
PendingModifiedValues.Builder cacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).
cacheNodeIdsToRemove
- A list of cache node IDs that are being removed (or will be removed) from the cache cluster. A node ID
is a numeric identifier (0001, 0002, etc.).PendingModifiedValues.Builder cacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the cache cluster. A node ID is a numeric identifier (0001, 0002, etc.).
NOTE: This method appends the values to the existing list (if any). Use
#setCacheNodeIdsToRemove(java.util.Collection)
or
#withCacheNodeIdsToRemove(java.util.Collection)
if you want to override the existing values.
cacheNodeIdsToRemove
- A list of cache node IDs that are being removed (or will be removed) from the cache cluster. A node ID
is a numeric identifier (0001, 0002, etc.).PendingModifiedValues.Builder engineVersion(String engineVersion)
The new cache engine version that the cache cluster runs.
engineVersion
- The new cache engine version that the cache cluster runs.PendingModifiedValues.Builder cacheNodeType(String cacheNodeType)
The cache node type that this cache cluster or replication group is scaled to.
cacheNodeType
- The cache node type that this cache cluster or replication group is scaled to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.