Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class CacheNodeTypeSpecificValue

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

public class CacheNodeTypeSpecificValue
extends Object
implements Serializable

A value that applies only to a certain Cache Node Type.

See Also:
Serialized Form

Constructor Summary
CacheNodeTypeSpecificValue()
          Default constructor for a new CacheNodeTypeSpecificValue object.
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheNodeType()
          Specifies the Cache Node type for which this value applies.
 String getValue()
          Specifies the value for the Cache Node type.
 int hashCode()
           
 void setCacheNodeType(String cacheNodeType)
          Specifies the Cache Node type for which this value applies.
 void setValue(String value)
          Specifies 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)
          Specifies the Cache Node type for which this value applies.
 CacheNodeTypeSpecificValue withValue(String value)
          Specifies the value for the Cache Node type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheNodeTypeSpecificValue

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

Method Detail

getCacheNodeType

public String getCacheNodeType()
Specifies the Cache Node type for which this value applies.

Returns:
Specifies the Cache Node type for which this value applies.

setCacheNodeType

public void setCacheNodeType(String cacheNodeType)
Specifies the Cache Node type for which this value applies.

Parameters:
cacheNodeType - Specifies the Cache Node type for which this value applies.

withCacheNodeType

public CacheNodeTypeSpecificValue withCacheNodeType(String cacheNodeType)
Specifies the Cache Node type for which this value applies.

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

Parameters:
cacheNodeType - Specifies the Cache Node type for which this value applies.
Returns:
A reference to this updated object so that method calls can be chained together.

getValue

public String getValue()
Specifies the value for the Cache Node type.

Returns:
Specifies the value for the Cache Node type.

setValue

public void setValue(String value)
Specifies the value for the Cache Node type.

Parameters:
value - Specifies the value for the Cache Node type.

withValue

public CacheNodeTypeSpecificValue withValue(String value)
Specifies the value for the Cache Node type.

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

Parameters:
value - Specifies the value for the Cache Node type.
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.