Class DescribeReservedCacheNodesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a DescribeReservedCacheNodes action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Provides an identifier to allow retrieval of paginated results.A list of reserved cache nodes.int
hashCode()
void
Provides an identifier to allow retrieval of paginated results.void
setReservedCacheNodes
(Collection<ReservedCacheNode> reservedCacheNodes) A list of reserved cache nodes.toString()
Returns a string representation of this object; useful for testing and debugging.withMarker
(String marker) Provides an identifier to allow retrieval of paginated results.withReservedCacheNodes
(ReservedCacheNode... reservedCacheNodes) A list of reserved cache nodes.withReservedCacheNodes
(Collection<ReservedCacheNode> reservedCacheNodes) A list of reserved cache nodes.
-
Constructor Details
-
DescribeReservedCacheNodesResult
public DescribeReservedCacheNodesResult()
-
-
Method Details
-
setMarker
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker
- Provides an identifier to allow retrieval of paginated results.
-
getMarker
Provides an identifier to allow retrieval of paginated results.
- Returns:
- Provides an identifier to allow retrieval of paginated results.
-
withMarker
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-