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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedCacheNodesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeReservedCacheNodesResultclone()booleanequals(Object obj)StringgetMarker()Provides an identifier to allow retrieval of paginated results.List<ReservedCacheNode>getReservedCacheNodes()A list of reserved cache nodes.inthashCode()voidsetMarker(String marker)Provides an identifier to allow retrieval of paginated results.voidsetReservedCacheNodes(Collection<ReservedCacheNode> reservedCacheNodes)A list of reserved cache nodes.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeReservedCacheNodesResultwithMarker(String marker)Provides an identifier to allow retrieval of paginated results.DescribeReservedCacheNodesResultwithReservedCacheNodes(ReservedCacheNode... reservedCacheNodes)A list of reserved cache nodes.DescribeReservedCacheNodesResultwithReservedCacheNodes(Collection<ReservedCacheNode> reservedCacheNodes)A list of reserved cache nodes.
-
-
-
Method Detail
-
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)orwithReservedCacheNodes(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedCacheNodesResult clone()
-
-