Class PendingModifiedValues
- All Implemented Interfaces:
Serializable
,Cloneable
A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of cache node IDs that are being removed (or will be removed) from the cache cluster.The cache node type that this cache cluster or replication group will be scaled to.The new cache engine version that the cache cluster will run.The new number of cache nodes for the cache cluster.int
hashCode()
void
setCacheNodeIdsToRemove
(Collection<String> cacheNodeIdsToRemove) A list of cache node IDs that are being removed (or will be removed) from the cache cluster.void
setCacheNodeType
(String cacheNodeType) The cache node type that this cache cluster or replication group will be scaled to.void
setEngineVersion
(String engineVersion) The new cache engine version that the cache cluster will run.void
setNumCacheNodes
(Integer numCacheNodes) The new number of cache nodes for the cache cluster.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheNodeIdsToRemove
(String... cacheNodeIdsToRemove) A list of cache node IDs that are being removed (or will be removed) from the cache cluster.withCacheNodeIdsToRemove
(Collection<String> cacheNodeIdsToRemove) A list of cache node IDs that are being removed (or will be removed) from the cache cluster.withCacheNodeType
(String cacheNodeType) The cache node type that this cache cluster or replication group will be scaled to.withEngineVersion
(String engineVersion) The new cache engine version that the cache cluster will run.withNumCacheNodes
(Integer numCacheNodes) The new number of cache nodes for the cache cluster.
-
Constructor Details
-
PendingModifiedValues
public PendingModifiedValues()
-
-
Method Details
-
setNumCacheNodes
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.
- Parameters:
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.
-
getNumCacheNodes
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.
- Returns:
- 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.
-
withNumCacheNodes
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCacheNodeIdsToRemove
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.).
- Returns:
- 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.).
-
setCacheNodeIdsToRemove
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.).
- Parameters:
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.).
-
withCacheNodeIdsToRemove
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)
orwithCacheNodeIdsToRemove(java.util.Collection)
if you want to override the existing values.- Parameters:
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.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCacheNodeIdsToRemove
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.).
- Parameters:
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.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineVersion
The new cache engine version that the cache cluster will run.
- Parameters:
engineVersion
- The new cache engine version that the cache cluster will run.
-
getEngineVersion
The new cache engine version that the cache cluster will run.
- Returns:
- The new cache engine version that the cache cluster will run.
-
withEngineVersion
The new cache engine version that the cache cluster will run.
- Parameters:
engineVersion
- The new cache engine version that the cache cluster will run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheNodeType
The cache node type that this cache cluster or replication group will be scaled to.
- Parameters:
cacheNodeType
- The cache node type that this cache cluster or replication group will be scaled to.
-
getCacheNodeType
The cache node type that this cache cluster or replication group will be scaled to.
- Returns:
- The cache node type that this cache cluster or replication group will be scaled to.
-
withCacheNodeType
The cache node type that this cache cluster or replication group will be scaled to.
- Parameters:
cacheNodeType
- The cache node type that this cache cluster or replication group will be scaled to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-