Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class PendingModifiedValues

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.PendingModifiedValues

public class PendingModifiedValues
extends Object

Contains values that will be applied to the Cache Cluster in the future.


Constructor Summary
PendingModifiedValues()
          Default constructor for a new PendingModifiedValues object.
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getCacheNodeIdsToRemove()
          Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.
 String getEngineVersion()
          Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.
 Integer getNumCacheNodes()
          Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.
 int hashCode()
           
 void setCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
          Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.
 void setEngineVersion(String engineVersion)
          Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.
 void setNumCacheNodes(Integer numCacheNodes)
          Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PendingModifiedValues withCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
          Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.
 PendingModifiedValues withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
          Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.
 PendingModifiedValues withEngineVersion(String engineVersion)
          Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.
 PendingModifiedValues withNumCacheNodes(Integer numCacheNodes)
          Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.
 
Methods inherited from class java.lang.Object
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()
Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.

Returns:
Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.

setNumCacheNodes

public void setNumCacheNodes(Integer numCacheNodes)
Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.

Parameters:
numCacheNodes - Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.

withNumCacheNodes

public PendingModifiedValues withNumCacheNodes(Integer numCacheNodes)
Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.

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

Parameters:
numCacheNodes - Contains the new NumCacheNodes for the Cache Cluster that will be applied or is in progress.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeIdsToRemove

public List<String> getCacheNodeIdsToRemove()
Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.

Returns:
Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.

setCacheNodeIdsToRemove

public void setCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.

Parameters:
cacheNodeIdsToRemove - Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.

withCacheNodeIdsToRemove

public PendingModifiedValues withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove)
Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.

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

Parameters:
cacheNodeIdsToRemove - Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.
Returns:
A reference to this updated object so that method calls can be chained together.

withCacheNodeIdsToRemove

public PendingModifiedValues withCacheNodeIdsToRemove(Collection<String> cacheNodeIdsToRemove)
Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.

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

Parameters:
cacheNodeIdsToRemove - Contains the list of node Ids to remove from the Cache Cluster that will be applied or is in progress.
Returns:
A reference to this updated object so that method calls can be chained together.

getEngineVersion

public String getEngineVersion()
Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.

Returns:
Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.

setEngineVersion

public void setEngineVersion(String engineVersion)
Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.

Parameters:
engineVersion - Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.

withEngineVersion

public PendingModifiedValues withEngineVersion(String engineVersion)
Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.

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

Parameters:
engineVersion - Contains the new version of the Cache Engine the Cache Cluster will be upgraded to.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.