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:
  • Constructor Details

    • CacheNodeTypeSpecificValue

      public CacheNodeTypeSpecificValue()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object