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 CacheNodeTypeSpecificValue
clone()
boolean
equals(Object obj)
String
getCacheNodeType()
The cache node type for which this value applies.String
getValue()
The value for the cache node type.int
hashCode()
void
setCacheNodeType(String cacheNodeType)
The cache node type for which this value applies.void
setValue(String value)
The value for the cache node type.String
toString()
Returns a string representation of this object; useful for testing and debugging.CacheNodeTypeSpecificValue
withCacheNodeType(String cacheNodeType)
The cache node type for which this value applies.CacheNodeTypeSpecificValue
withValue(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CacheNodeTypeSpecificValue clone()
-
-