Class CacheNodeTypeSpecificValue
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.CacheNodeTypeSpecificValue
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CacheNodeTypeSpecificValue extends Object implements Serializable, Cloneable
A value that applies only to a certain cache node type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheNodeTypeSpecificValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheNodeTypeSpecificValueclone()booleanequals(Object obj)StringgetCacheNodeType()The cache node type for which this value applies.StringgetValue()The value for the cache node type.inthashCode()voidsetCacheNodeType(String cacheNodeType)The cache node type for which this value applies.voidsetValue(String value)The value for the cache node type.StringtoString()Returns a string representation of this object; useful for testing and debugging.CacheNodeTypeSpecificValuewithCacheNodeType(String cacheNodeType)The cache node type for which this value applies.CacheNodeTypeSpecificValuewithValue(String value)The value for the cache node type.
-
-
-
Method Detail
-
setCacheNodeType
public void setCacheNodeType(String cacheNodeType)
The cache node type for which this value applies.
- Parameters:
cacheNodeType- The cache node type for which this value applies.
-
getCacheNodeType
public String getCacheNodeType()
The cache node type for which this value applies.
- Returns:
- The cache node type for which this value applies.
-
withCacheNodeType
public CacheNodeTypeSpecificValue withCacheNodeType(String cacheNodeType)
The cache node type for which this value applies.
- Parameters:
cacheNodeType- The cache node type for which this value applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
public void setValue(String value)
The value for the cache node type.
- Parameters:
value- The value for the cache node type.
-
getValue
public String getValue()
The value for the cache node type.
- Returns:
- The value for the cache node type.
-
withValue
public CacheNodeTypeSpecificValue withValue(String value)
The value for the cache node type.
- Parameters:
value- The value for the cache node type.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CacheNodeTypeSpecificValue clone()
-
-