public class DescribeMovingAddressesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeMovingAddresses.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<MovingAddressStatus> |
movingAddressStatuses
The status for each Elastic IP address.
|
private java.lang.String |
nextToken
The token to use to retrieve the next page of results.
|
Constructor and Description |
---|
DescribeMovingAddressesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeMovingAddressesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<MovingAddressStatus> |
getMovingAddressStatuses()
The status for each Elastic IP address.
|
java.lang.String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setMovingAddressStatuses(java.util.Collection<MovingAddressStatus> movingAddressStatuses)
The status for each Elastic IP address.
|
void |
setNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeMovingAddressesResult |
withMovingAddressStatuses(java.util.Collection<MovingAddressStatus> movingAddressStatuses)
The status for each Elastic IP address.
|
DescribeMovingAddressesResult |
withMovingAddressStatuses(MovingAddressStatus... movingAddressStatuses)
The status for each Elastic IP address.
|
DescribeMovingAddressesResult |
withNextToken(java.lang.String nextToken)
The token to use to retrieve the next page of results.
|
private SdkInternalList<MovingAddressStatus> movingAddressStatuses
The status for each Elastic IP address.
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 java.util.List<MovingAddressStatus> getMovingAddressStatuses()
The status for each Elastic IP address.
public void setMovingAddressStatuses(java.util.Collection<MovingAddressStatus> movingAddressStatuses)
The status for each Elastic IP address.
movingAddressStatuses
- The status for each Elastic IP address.public DescribeMovingAddressesResult withMovingAddressStatuses(MovingAddressStatus... movingAddressStatuses)
The status for each Elastic IP address.
NOTE: This method appends the values to the existing list (if
any). Use setMovingAddressStatuses(java.util.Collection)
or
withMovingAddressStatuses(java.util.Collection)
if you want to
override the existing values.
movingAddressStatuses
- The status for each Elastic IP address.public DescribeMovingAddressesResult withMovingAddressStatuses(java.util.Collection<MovingAddressStatus> movingAddressStatuses)
The status for each Elastic IP address.
movingAddressStatuses
- The status for each Elastic IP address.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 DescribeMovingAddressesResult 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 DescribeMovingAddressesResult clone()
clone
in class java.lang.Object