public class PendingModifiedValues extends Object implements Serializable
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 |
---|---|
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 |
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 |
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 |
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()
public void setNumCacheNodes(Integer numCacheNodes)
numCacheNodes
- The new number of cache nodes for the cache cluster.public PendingModifiedValues withNumCacheNodes(Integer numCacheNodes)
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.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)
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 toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.