public class DescribeReservedCacheNodesResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeReservedCacheNodes action.
Constructor and Description |
---|
DescribeReservedCacheNodesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedCacheNodesResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
List<ReservedCacheNode> |
getReservedCacheNodes()
A list of reserved cache nodes.
|
int |
hashCode() |
void |
setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
void |
setReservedCacheNodes(Collection<ReservedCacheNode> reservedCacheNodes)
A list of reserved cache nodes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedCacheNodesResult |
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
DescribeReservedCacheNodesResult |
withReservedCacheNodes(Collection<ReservedCacheNode> reservedCacheNodes)
A list of reserved cache nodes.
|
DescribeReservedCacheNodesResult |
withReservedCacheNodes(ReservedCacheNode... reservedCacheNodes)
A list of reserved cache nodes.
|
public String getMarker()
public void setMarker(String marker)
marker
- Provides an identifier to allow retrieval of paginated results.public DescribeReservedCacheNodesResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- Provides an identifier to allow retrieval of paginated results.public List<ReservedCacheNode> getReservedCacheNodes()
public void setReservedCacheNodes(Collection<ReservedCacheNode> reservedCacheNodes)
reservedCacheNodes
- A list of reserved cache nodes. Each element in the list contains
detailed information about one node.public DescribeReservedCacheNodesResult withReservedCacheNodes(ReservedCacheNode... reservedCacheNodes)
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.
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodes
- A list of reserved cache nodes. Each element in the list contains
detailed information about one node.public DescribeReservedCacheNodesResult withReservedCacheNodes(Collection<ReservedCacheNode> reservedCacheNodes)
Returns a reference to this object so that method calls can be chained together.
reservedCacheNodes
- A list of reserved cache nodes. Each element in the list contains
detailed information about one node.public String toString()
toString
in class Object
Object.toString()
public DescribeReservedCacheNodesResult clone()
Copyright © 2016. All rights reserved.