public class Address extends Object implements Serializable
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAllocationId()
Returns the value of the AllocationId property for this object.
|
String |
getAssociationId()
Returns the value of the AssociationId property for this object.
|
String |
getDomain()
Returns the value of the Domain property for this object.
|
String |
getInstanceId() |
String |
getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.
|
String |
getNetworkInterfaceOwnerId()
Returns the value of the NetworkInterfaceOwnerId property for this
object.
|
String |
getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object.
|
String |
getPublicIp() |
int |
hashCode() |
void |
setAllocationId(String allocationId)
Sets the value of the AllocationId property for this object.
|
void |
setAssociationId(String associationId)
Sets the value of the AssociationId 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 |
setInstanceId(String instanceId) |
void |
setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.
|
void |
setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
Sets the value of the NetworkInterfaceOwnerId property for this
object.
|
void |
setPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.
|
void |
setPublicIp(String publicIp) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Address |
withAllocationId(String allocationId)
Sets the value of the AllocationId property for this object.
|
Address |
withAssociationId(String associationId)
Sets the value of the AssociationId property for this object.
|
Address |
withDomain(DomainType domain)
Sets the value of the Domain property for this object.
|
Address |
withDomain(String domain)
Sets the value of the Domain property for this object.
|
Address |
withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
|
Address |
withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.
|
Address |
withNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
Sets the value of the NetworkInterfaceOwnerId property for this
object.
|
Address |
withPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.
|
Address |
withPublicIp(String publicIp)
Returns a reference to this object so that method calls can be chained together.
|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- public Address withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- public String getPublicIp()
public void setPublicIp(String publicIp)
publicIp
- public Address withPublicIp(String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp
- public String getAllocationId()
public void setAllocationId(String allocationId)
allocationId
- The new value for the AllocationId property for this object.public Address 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 getAssociationId()
public void setAssociationId(String associationId)
associationId
- The new value for the AssociationId property for this object.public Address withAssociationId(String associationId)
Returns a reference to this object so that method calls can be chained together.
associationId
- The new value for the AssociationId property for this object.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 Address 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 Address 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 getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.public Address withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.public String getNetworkInterfaceOwnerId()
public void setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
networkInterfaceOwnerId
- The new value for the NetworkInterfaceOwnerId property for this
object.public Address withNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceOwnerId
- The new value for the NetworkInterfaceOwnerId property for this
object.public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public Address withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The new value for the PrivateIpAddress property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.