Class MovingAddressStatus
- java.lang.Object
-
- com.amazonaws.services.ec2.model.MovingAddressStatus
-
- All Implemented Interfaces:
Serializable,Cloneable
public class MovingAddressStatus extends Object implements Serializable, Cloneable
Describes the status of a moving Elastic IP address.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MovingAddressStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MovingAddressStatusclone()booleanequals(Object obj)StringgetMoveStatus()The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.StringgetPublicIp()The Elastic IP address.inthashCode()voidsetMoveStatus(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.voidsetMoveStatus(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.voidsetPublicIp(String publicIp)The Elastic IP address.StringtoString()Returns a string representation of this object; useful for testing and debugging.MovingAddressStatuswithMoveStatus(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.MovingAddressStatuswithMoveStatus(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.MovingAddressStatuswithPublicIp(String publicIp)The Elastic IP address.
-
-
-
Method Detail
-
setPublicIp
public void setPublicIp(String publicIp)
The Elastic IP address.
- Parameters:
publicIp- The Elastic IP address.
-
getPublicIp
public String getPublicIp()
The Elastic IP address.
- Returns:
- The Elastic IP address.
-
withPublicIp
public MovingAddressStatus withPublicIp(String publicIp)
The Elastic IP address.
- Parameters:
publicIp- The Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMoveStatus
public void setMoveStatus(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.
- Parameters:
moveStatus- The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.- See Also:
MoveStatus
-
getMoveStatus
public 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.
- Returns:
- The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.
- See Also:
MoveStatus
-
withMoveStatus
public MovingAddressStatus withMoveStatus(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.
- Parameters:
moveStatus- The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MoveStatus
-
setMoveStatus
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.
- Parameters:
moveStatus- The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.- See Also:
MoveStatus
-
withMoveStatus
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.
- Parameters:
moveStatus- The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MoveStatus
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public MovingAddressStatus clone()
-
-