@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 |
getNextToken()
An optional marker returned from a prior request.
|
List<ReservedNode> |
getReservedNodes()
Returns information about reserved nodes for this account, or about a specified reserved node.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An optional marker returned from a prior request.
|
void |
setReservedNodes(Collection<ReservedNode> reservedNodes)
Returns information about reserved nodes for this account, or about a specified reserved node.
|
String |
toString()
Returns a string representation of this object.
|
DescribeReservedNodesResult |
withNextToken(String nextToken)
An optional marker returned from a prior request.
|
DescribeReservedNodesResult |
withReservedNodes(Collection<ReservedNode> reservedNodes)
Returns information about reserved nodes for this account, or about a specified reserved node.
|
DescribeReservedNodesResult |
withReservedNodes(ReservedNode... reservedNodes)
Returns information about reserved nodes for this account, or about a specified reserved node.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
nextToken
- An optional marker returned from a prior request. Use this marker for pagination of results from this
operation. If this parameter is specified, the response includes only records beyond the marker, up to the
value specified by MaxRecords.public String getNextToken()
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
public DescribeReservedNodesResult withNextToken(String nextToken)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
nextToken
- An optional marker returned from a prior request. Use this marker for pagination of results from this
operation. If this parameter is specified, the response includes only records beyond the marker, up to the
value specified by MaxRecords.public List<ReservedNode> getReservedNodes()
Returns information about reserved nodes for this account, or about a specified reserved node.
public void setReservedNodes(Collection<ReservedNode> reservedNodes)
Returns information about reserved nodes for this account, or about a specified reserved node.
reservedNodes
- Returns information about reserved nodes for this account, or about a specified reserved node.public DescribeReservedNodesResult withReservedNodes(ReservedNode... reservedNodes)
Returns information about reserved nodes for this account, or about a specified reserved node.
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
- Returns information about reserved nodes for this account, or about a specified reserved node.public DescribeReservedNodesResult withReservedNodes(Collection<ReservedNode> reservedNodes)
Returns information about reserved nodes for this account, or about a specified reserved node.
reservedNodes
- Returns information about reserved nodes for this account, or about a specified reserved node.public String toString()
toString
in class Object
Object.toString()
public DescribeReservedNodesResult clone()