@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedInstancesModificationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeReservedInstancesModifications.
Constructor and Description |
---|
DescribeReservedInstancesModificationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesModificationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ReservedInstancesModification> |
getReservedInstancesModifications()
The Reserved Instance modification information.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setReservedInstancesModifications(Collection<ReservedInstancesModification> reservedInstancesModifications)
The Reserved Instance modification information.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeReservedInstancesModificationsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeReservedInstancesModificationsResult |
withReservedInstancesModifications(Collection<ReservedInstancesModification> reservedInstancesModifications)
The Reserved Instance modification information.
|
DescribeReservedInstancesModificationsResult |
withReservedInstancesModifications(ReservedInstancesModification... reservedInstancesModifications)
The Reserved Instance modification information.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeReservedInstancesModificationsResult()
public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeReservedInstancesModificationsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public List<ReservedInstancesModification> getReservedInstancesModifications()
The Reserved Instance modification information.
public void setReservedInstancesModifications(Collection<ReservedInstancesModification> reservedInstancesModifications)
The Reserved Instance modification information.
reservedInstancesModifications
- The Reserved Instance modification information.public DescribeReservedInstancesModificationsResult withReservedInstancesModifications(ReservedInstancesModification... reservedInstancesModifications)
The Reserved Instance modification information.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstancesModifications(java.util.Collection)
or
withReservedInstancesModifications(java.util.Collection)
if you want to override the existing values.
reservedInstancesModifications
- The Reserved Instance modification information.public DescribeReservedInstancesModificationsResult withReservedInstancesModifications(Collection<ReservedInstancesModification> reservedInstancesModifications)
The Reserved Instance modification information.
reservedInstancesModifications
- The Reserved Instance modification information.public String toString()
toString
in class Object
Object.toString()
public DescribeReservedInstancesModificationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.