public class MovingAddressStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the status of a moving Elastic IP address.
Modifier and Type | Field and Description |
---|---|
private 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.
|
private java.lang.String |
publicIp
The Elastic IP address.
|
Constructor and Description |
---|
MovingAddressStatus() |
Modifier and Type | Method and Description |
---|---|
MovingAddressStatus |
clone() |
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.
|
private java.lang.String publicIp
The Elastic IP address.
private 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.
public void setPublicIp(java.lang.String publicIp)
The Elastic IP address.
publicIp
- The Elastic IP address.public java.lang.String getPublicIp()
The Elastic IP address.
public MovingAddressStatus withPublicIp(java.lang.String publicIp)
The Elastic IP address.
publicIp
- The Elastic IP address.public 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.
moveStatus
- The status of the Elastic IP address that's being moved to the
EC2-VPC platform, or restored to the EC2-Classic platform.MoveStatus
public 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.
MoveStatus
public 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.
moveStatus
- The status of the Elastic IP address that's being moved to the
EC2-VPC platform, or restored to the EC2-Classic platform.MoveStatus
public 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.
moveStatus
- The status of the Elastic IP address that's being moved to the
EC2-VPC platform, or restored to the EC2-Classic platform.MoveStatus
public 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.
moveStatus
- The status of the Elastic IP address that's being moved to the
EC2-VPC platform, or restored to the EC2-Classic platform.MoveStatus
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 MovingAddressStatus clone()
clone
in class java.lang.Object