public class AllocateAddressResult extends Object implements Serializable
Result returned from allocating an Elastic IP.
Constructor and Description |
---|
AllocateAddressResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAllocationId()
Returns the value of the AllocationId property for this object.
|
String |
getDomain()
Returns the value of the Domain property for this object.
|
String |
getPublicIp()
IP address for use with your account.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
Sets the value of the AllocationId property for this object.
|
void |
setDomain(DomainType domain)
Sets the value of the Domain property for this object.
|
void |
setDomain(String domain)
Sets the value of the Domain property for this object.
|
void |
setPublicIp(String publicIp)
IP address for use with your account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AllocateAddressResult |
withAllocationId(String allocationId)
Sets the value of the AllocationId property for this object.
|
AllocateAddressResult |
withDomain(DomainType domain)
Sets the value of the Domain property for this object.
|
AllocateAddressResult |
withDomain(String domain)
Sets the value of the Domain property for this object.
|
AllocateAddressResult |
withPublicIp(String publicIp)
IP address for use with your account.
|
public String getPublicIp()
public void setPublicIp(String publicIp)
publicIp
- IP address for use with your account.public AllocateAddressResult withPublicIp(String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp
- IP address for use with your account.public String getDomain()
Constraints:
Allowed Values: vpc, standard
DomainType
public void setDomain(String domain)
Constraints:
Allowed Values: vpc, standard
domain
- The new value for the Domain property for this object.DomainType
public AllocateAddressResult withDomain(String domain)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: vpc, standard
domain
- The new value for the Domain property for this object.DomainType
public void setDomain(DomainType domain)
Constraints:
Allowed Values: vpc, standard
domain
- The new value for the Domain property for this object.DomainType
public AllocateAddressResult withDomain(DomainType domain)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: vpc, standard
domain
- The new value for the Domain property for this object.DomainType
public String getAllocationId()
public void setAllocationId(String allocationId)
allocationId
- The new value for the AllocationId property for this object.public AllocateAddressResult withAllocationId(String allocationId)
Returns a reference to this object so that method calls can be chained together.
allocationId
- The new value for the AllocationId property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.