public class PendingModifiedValues extends Object implements Serializable, Cloneable
A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.
| Constructor and Description | 
|---|
| PendingModifiedValues()Default constructor for a new PendingModifiedValues object. | 
| Modifier and Type | Method and Description | 
|---|---|
| PendingModifiedValues | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getCacheNodeIdsToRemove()A list of cache node IDs that are being removed (or will be removed)
 from the cache cluster. | 
| String | getCacheNodeType()The cache node type that this cache cluster or replication group will
 be scaled to. | 
| String | getEngineVersion()The new cache engine version that the cache cluster will run. | 
| Integer | getNumCacheNodes()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. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| PendingModifiedValues | withCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)A list of cache node IDs that are being removed (or will be removed)
 from the cache cluster. | 
| PendingModifiedValues | withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove)A list of cache node IDs that are being removed (or will be removed)
 from the cache cluster. | 
| PendingModifiedValues | withCacheNodeType(String cacheNodeType)The cache node type that this cache cluster or replication group will
 be scaled to. | 
| PendingModifiedValues | withEngineVersion(String engineVersion)The new cache engine version that the cache cluster will run. | 
| PendingModifiedValues | withNumCacheNodes(Integer numCacheNodes)The new number of cache nodes for the cache cluster. | 
public PendingModifiedValues()
public Integer getNumCacheNodes()
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
public void setNumCacheNodes(Integer numCacheNodes)
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.
public PendingModifiedValues withNumCacheNodes(Integer numCacheNodes)
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
Returns a reference to this object so that method calls can be chained together.
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.
public List<String> getCacheNodeIdsToRemove()
public void setCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
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.).public PendingModifiedValues withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
 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.
 
Returns a reference to this object so that method calls can be chained together.
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.).public PendingModifiedValues withCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
Returns a reference to this object so that method calls can be chained together.
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.).public String getEngineVersion()
public void setEngineVersion(String engineVersion)
engineVersion - The new cache engine version that the cache cluster will run.public PendingModifiedValues withEngineVersion(String engineVersion)
Returns a reference to this object so that method calls can be chained together.
engineVersion - The new cache engine version that the cache cluster will run.public String getCacheNodeType()
public void setCacheNodeType(String cacheNodeType)
cacheNodeType - The cache node type that this cache cluster or replication group will
         be scaled to.public PendingModifiedValues withCacheNodeType(String cacheNodeType)
Returns a reference to this object so that method calls can be chained together.
cacheNodeType - The cache node type that this cache cluster or replication group will
         be scaled to.public String toString()
toString in class ObjectObject.toString()public PendingModifiedValues clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.