public class DescribeReservedInstancesModificationsResult extends Object implements Serializable, Cloneable
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.
|
public DescribeReservedInstancesModificationsResult()
public List<ReservedInstancesModification> getReservedInstancesModifications()
public void setReservedInstancesModifications(Collection<ReservedInstancesModification> reservedInstancesModifications)
reservedInstancesModifications
- The Reserved Instance modification information.public DescribeReservedInstancesModificationsResult withReservedInstancesModifications(ReservedInstancesModification... reservedInstancesModifications)
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.
Returns a reference to this object so that method calls can be chained together.
reservedInstancesModifications
- The Reserved Instance modification information.public DescribeReservedInstancesModificationsResult withReservedInstancesModifications(Collection<ReservedInstancesModification> reservedInstancesModifications)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesModifications
- The Reserved Instance modification information.public String getNextToken()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(String nextToken)
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 DescribeReservedInstancesModificationsResult withNextToken(String nextToken)
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
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 toString()
toString
in class Object
Object.toString()
public DescribeReservedInstancesModificationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.