Package com.amazonaws.services.ec2.model
Class RestoreAddressToClassicResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.RestoreAddressToClassicResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RestoreAddressToClassicResult extends Object implements Serializable, Cloneable
Contains the output of RestoreAddressToClassic.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestoreAddressToClassicResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreAddressToClassicResult
clone()
boolean
equals(Object obj)
String
getPublicIp()
The Elastic IP address.String
getStatus()
The move status for the IP address.int
hashCode()
void
setPublicIp(String publicIp)
The Elastic IP address.void
setStatus(Status status)
The move status for the IP address.void
setStatus(String status)
The move status for the IP address.String
toString()
Returns a string representation of this object; useful for testing and debugging.RestoreAddressToClassicResult
withPublicIp(String publicIp)
The Elastic IP address.RestoreAddressToClassicResult
withStatus(Status status)
The move status for the IP address.RestoreAddressToClassicResult
withStatus(String status)
The move status for the IP address.
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
The move status for the IP address.
- Parameters:
status
- The move status for the IP address.- See Also:
Status
-
getStatus
public String getStatus()
The move status for the IP address.
- Returns:
- The move status for the IP address.
- See Also:
Status
-
withStatus
public RestoreAddressToClassicResult withStatus(String status)
The move status for the IP address.
- Parameters:
status
- The move status for the IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Status
-
setStatus
public void setStatus(Status status)
The move status for the IP address.
- Parameters:
status
- The move status for the IP address.- See Also:
Status
-
withStatus
public RestoreAddressToClassicResult withStatus(Status status)
The move status for the IP address.
- Parameters:
status
- The move status for the IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Status
-
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 RestoreAddressToClassicResult 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RestoreAddressToClassicResult clone()
-
-