@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedNodesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeReservedNodesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedNodesResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request.
|
List<ReservedNode> |
getReservedNodes()
The list of
ReservedNode objects. |
int |
hashCode() |
void |
setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
void |
setReservedNodes(Collection<ReservedNode> reservedNodes)
The list of
ReservedNode objects. |
String |
toString()
Returns a string representation of this object.
|
DescribeReservedNodesResult |
withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
DescribeReservedNodesResult |
withReservedNodes(Collection<ReservedNode> reservedNodes)
The list of
ReservedNode objects. |
DescribeReservedNodesResult |
withReservedNodes(ReservedNode... reservedNodes)
The list of
ReservedNode objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a
value is returned in a response, you can retrieve the next set of records by providing this returned marker value
in the Marker
parameter and retrying the command. If the Marker
field is empty, all
response records have been retrieved for the request.
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
marker value in the Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the request.public String getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request. If a
value is returned in a response, you can retrieve the next set of records by providing this returned marker value
in the Marker
parameter and retrying the command. If the Marker
field is empty, all
response records have been retrieved for the request.
Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the request.public DescribeReservedNodesResult withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a
value is returned in a response, you can retrieve the next set of records by providing this returned marker value
in the Marker
parameter and retrying the command. If the Marker
field is empty, all
response records have been retrieved for the request.
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
marker value in the Marker
parameter and retrying the command. If the Marker
field is empty, all response records have been retrieved for the request.public List<ReservedNode> getReservedNodes()
The list of ReservedNode
objects.
ReservedNode
objects.public void setReservedNodes(Collection<ReservedNode> reservedNodes)
The list of ReservedNode
objects.
reservedNodes
- The list of ReservedNode
objects.public DescribeReservedNodesResult withReservedNodes(ReservedNode... reservedNodes)
The list of ReservedNode
objects.
NOTE: This method appends the values to the existing list (if any). Use
setReservedNodes(java.util.Collection)
or withReservedNodes(java.util.Collection)
if you want
to override the existing values.
reservedNodes
- The list of ReservedNode
objects.public DescribeReservedNodesResult withReservedNodes(Collection<ReservedNode> reservedNodes)
The list of ReservedNode
objects.
reservedNodes
- The list of ReservedNode
objects.public String toString()
toString
in class Object
Object.toString()
public DescribeReservedNodesResult clone()