Class DescribeReservedCacheNodesResult

java.lang.Object
com.amazonaws.services.elasticache.model.DescribeReservedCacheNodesResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeReservedCacheNodesResult extends Object implements Serializable, Cloneable

Represents the output of a DescribeReservedCacheNodes action.

See Also:
  • Constructor Details

    • DescribeReservedCacheNodesResult

      public DescribeReservedCacheNodesResult()
  • Method Details

    • setMarker

      public void setMarker(String marker)

      Provides an identifier to allow retrieval of paginated results.

      Parameters:
      marker - Provides an identifier to allow retrieval of paginated results.
    • getMarker

      public String getMarker()

      Provides an identifier to allow retrieval of paginated results.

      Returns:
      Provides an identifier to allow retrieval of paginated results.
    • withMarker

      public DescribeReservedCacheNodesResult withMarker(String marker)

      Provides an identifier to allow retrieval of paginated results.

      Parameters:
      marker - Provides an identifier to allow retrieval of paginated results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getReservedCacheNodes

      public List<ReservedCacheNode> getReservedCacheNodes()

      A list of reserved cache nodes. Each element in the list contains detailed information about one node.

      Returns:
      A list of reserved cache nodes. Each element in the list contains detailed information about one node.
    • setReservedCacheNodes

      public void setReservedCacheNodes(Collection<ReservedCacheNode> reservedCacheNodes)

      A list of reserved cache nodes. Each element in the list contains detailed information about one node.

      Parameters:
      reservedCacheNodes - A list of reserved cache nodes. Each element in the list contains detailed information about one node.
    • withReservedCacheNodes

      public DescribeReservedCacheNodesResult withReservedCacheNodes(ReservedCacheNode... reservedCacheNodes)

      A list of reserved cache nodes. Each element in the list contains detailed information about one node.

      NOTE: This method appends the values to the existing list (if any). Use setReservedCacheNodes(java.util.Collection) or withReservedCacheNodes(java.util.Collection) if you want to override the existing values.

      Parameters:
      reservedCacheNodes - A list of reserved cache nodes. Each element in the list contains detailed information about one node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withReservedCacheNodes

      public DescribeReservedCacheNodesResult withReservedCacheNodes(Collection<ReservedCacheNode> reservedCacheNodes)

      A list of reserved cache nodes. Each element in the list contains detailed information about one node.

      Parameters:
      reservedCacheNodes - A list of reserved cache nodes. Each element in the list contains detailed information about one node.
      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