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