com.amazonaws.services.elasticache.model
Class PendingModifiedValues

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.PendingModifiedValues
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form

Constructor Summary
PendingModifiedValues()
          Default constructor for a new PendingModifiedValues object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PendingModifiedValues

public PendingModifiedValues()
Default constructor for a new PendingModifiedValues object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getNumCacheNodes

public Integer getNumCacheNodes()
The new number of cache nodes for the cache cluster.

Returns:
The new number of cache nodes for the cache cluster.

setNumCacheNodes

public void setNumCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the cache cluster.

Parameters:
numCacheNodes - The new number of cache nodes for the cache cluster.

withNumCacheNodes

public PendingModifiedValues withNumCacheNodes(Integer numCacheNodes)
The new number of cache nodes for the cache cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
numCacheNodes - The new number of cache nodes for the cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeIdsToRemove

public List<String> 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

public void setCacheNodeIdsToRemove(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.).

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

public PendingModifiedValues withCacheNodeIdsToRemove(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.).

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

withCacheNodeIdsToRemove

public PendingModifiedValues withCacheNodeIdsToRemove(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.).

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getEngineVersion

public String getEngineVersion()
The new cache engine version that the cache cluster will run.

Returns:
The new cache engine version that the cache cluster will run.

setEngineVersion

public void setEngineVersion(String engineVersion)
The new cache engine version that the cache cluster will run.

Parameters:
engineVersion - The new cache engine version that the cache cluster will run.

withEngineVersion

public PendingModifiedValues withEngineVersion(String engineVersion)
The new cache engine version that the cache cluster will run.

Returns a reference to this object so that method calls can be chained together.

Parameters:
engineVersion - The new cache engine version that the cache cluster will run.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.