@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedCacheNodesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a DescribeReservedCacheNodes
operation.
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public String getMarker()
Provides an identifier to allow retrieval of paginated results.
public DescribeReservedCacheNodesResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public List<ReservedCacheNode> getReservedCacheNodes()
A list of reserved cache nodes. Each element in the list contains detailed information about one node.
public void setReservedCacheNodes(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(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 String toString()
toString
in class Object
Object.toString()
public DescribeReservedCacheNodesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.