public class MovingAddressStatus
extends java.lang.Object
implements java.io.Serializable
Describes the status of a moving Elastic IP address.
| Constructor and Description |
|---|
MovingAddressStatus() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMoveStatus()
The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.
|
java.lang.String |
getPublicIp()
The Elastic IP address.
|
int |
hashCode() |
void |
setMoveStatus(MoveStatus moveStatus)
The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.
|
void |
setMoveStatus(java.lang.String moveStatus)
The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.
|
void |
setPublicIp(java.lang.String publicIp)
The Elastic IP address.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MovingAddressStatus |
withMoveStatus(MoveStatus moveStatus)
The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.
|
MovingAddressStatus |
withMoveStatus(java.lang.String moveStatus)
The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.
|
MovingAddressStatus |
withPublicIp(java.lang.String publicIp)
The Elastic IP address.
|
public java.lang.String getPublicIp()
public void setPublicIp(java.lang.String publicIp)
publicIp - The Elastic IP address.public MovingAddressStatus withPublicIp(java.lang.String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp - The Elastic IP address.public java.lang.String getMoveStatus()
Constraints:
Allowed Values: movingToVpc, restoringToClassic
MoveStatuspublic void setMoveStatus(java.lang.String moveStatus)
Constraints:
Allowed Values: movingToVpc, restoringToClassic
moveStatus - The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.MoveStatuspublic MovingAddressStatus withMoveStatus(java.lang.String moveStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: movingToVpc, restoringToClassic
moveStatus - The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.MoveStatuspublic void setMoveStatus(MoveStatus moveStatus)
Constraints:
Allowed Values: movingToVpc, restoringToClassic
moveStatus - The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.MoveStatuspublic MovingAddressStatus withMoveStatus(MoveStatus moveStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: movingToVpc, restoringToClassic
moveStatus - The status of the Elastic IP address that's being moved to the EC2-VPC
platform, or restored to the EC2-Classic platform.MoveStatuspublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.