public class DescribeReservedInstancesModificationsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeReservedInstancesModifications.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use to retrieve the next page of results.
|
private SdkInternalList<ReservedInstancesModification> |
reservedInstancesModifications
The Reserved Instance modification information.
|
Constructor and Description |
---|
DescribeReservedInstancesModificationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesModificationsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use to retrieve the next page of results.
|
java.util.List<ReservedInstancesModification> |
getReservedInstancesModifications()
The Reserved Instance modification information.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
void |
setReservedInstancesModifications(java.util.Collection<ReservedInstancesModification> reservedInstancesModifications)
The Reserved Instance modification information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesModificationsResult |
withNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
DescribeReservedInstancesModificationsResult |
withReservedInstancesModifications(java.util.Collection<ReservedInstancesModification> reservedInstancesModifications)
The Reserved Instance modification information.
|
DescribeReservedInstancesModificationsResult |
withReservedInstancesModifications(ReservedInstancesModification... reservedInstancesModifications)
The Reserved Instance modification information.
|
private SdkInternalList<ReservedInstancesModification> reservedInstancesModifications
The Reserved Instance modification information.
private java.lang.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.
public DescribeReservedInstancesModificationsResult()
public java.util.List<ReservedInstancesModification> getReservedInstancesModifications()
The Reserved Instance modification information.
public void setReservedInstancesModifications(java.util.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(java.util.Collection<ReservedInstancesModification> reservedInstancesModifications)
The Reserved Instance modification information.
reservedInstancesModifications
- The Reserved Instance modification information.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeReservedInstancesModificationsResult clone()
clone
in class java.lang.Object