@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PendingModifiedValues extends Object implements Serializable, Cloneable
A group of settings that are applied to the cluster in the future, or that are currently being applied.
Constructor and Description |
---|
PendingModifiedValues() |
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 cluster.
|
String |
getCacheNodeType()
The cache node type that this cluster or replication group is scaled to.
|
String |
getEngineVersion()
The new cache engine version that the cluster runs.
|
Integer |
getNumCacheNodes()
The new number of cache nodes for the cluster.
|
int |
hashCode() |
void |
setCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the cluster.
|
void |
setCacheNodeType(String cacheNodeType)
The cache node type that this cluster or replication group is scaled to.
|
void |
setEngineVersion(String engineVersion)
The new cache engine version that the cluster runs.
|
void |
setNumCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the 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 cluster.
|
PendingModifiedValues |
withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the cluster.
|
PendingModifiedValues |
withCacheNodeType(String cacheNodeType)
The cache node type that this cluster or replication group is scaled to.
|
PendingModifiedValues |
withEngineVersion(String engineVersion)
The new cache engine version that the cluster runs.
|
PendingModifiedValues |
withNumCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the cluster.
|
public void setNumCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the 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 cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
public Integer getNumCacheNodes()
The new number of cache nodes for the cluster.
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 PendingModifiedValues withNumCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the 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 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()
A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a numeric identifier (0001, 0002, etc.).
public void setCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the 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 cluster. A node ID is a
numeric identifier (0001, 0002, etc.).public PendingModifiedValues withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the 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 cluster. A node ID is a
numeric identifier (0001, 0002, etc.).public PendingModifiedValues withCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
A list of cache node IDs that are being removed (or will be removed) from the 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 cluster. A node ID is a
numeric identifier (0001, 0002, etc.).public void setEngineVersion(String engineVersion)
The new cache engine version that the cluster runs.
engineVersion
- The new cache engine version that the cluster runs.public String getEngineVersion()
The new cache engine version that the cluster runs.
public PendingModifiedValues withEngineVersion(String engineVersion)
The new cache engine version that the cluster runs.
engineVersion
- The new cache engine version that the cluster runs.public void setCacheNodeType(String cacheNodeType)
The cache node type that this cluster or replication group is scaled to.
cacheNodeType
- The cache node type that this cluster or replication group is scaled to.public String getCacheNodeType()
The cache node type that this cluster or replication group is scaled to.
public PendingModifiedValues withCacheNodeType(String cacheNodeType)
The cache node type that this cluster or replication group is scaled to.
cacheNodeType
- The cache node type that this cluster or replication group is scaled to.public String toString()
toString
in class Object
Object.toString()
public PendingModifiedValues clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.