public class NetworkInterfaceAssociation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes association information for an Elastic IP address.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
allocationId
The allocation ID.
|
private java.lang.String |
associationId
The association ID.
|
private java.lang.String |
ipOwnerId
The ID of the Elastic IP address owner.
|
private java.lang.String |
publicDnsName
The public DNS name.
|
private java.lang.String |
publicIp
The address of the Elastic IP address bound to the network interface.
|
Constructor and Description |
---|
NetworkInterfaceAssociation() |
Modifier and Type | Method and Description |
---|---|
NetworkInterfaceAssociation |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAllocationId()
The allocation ID.
|
java.lang.String |
getAssociationId()
The association ID.
|
java.lang.String |
getIpOwnerId()
The ID of the Elastic IP address owner.
|
java.lang.String |
getPublicDnsName()
The public DNS name.
|
java.lang.String |
getPublicIp()
The address of the Elastic IP address bound to the network interface.
|
int |
hashCode() |
void |
setAllocationId(java.lang.String allocationId)
The allocation ID.
|
void |
setAssociationId(java.lang.String associationId)
The association ID.
|
void |
setIpOwnerId(java.lang.String ipOwnerId)
The ID of the Elastic IP address owner.
|
void |
setPublicDnsName(java.lang.String publicDnsName)
The public DNS name.
|
void |
setPublicIp(java.lang.String publicIp)
The address of the Elastic IP address bound to the network interface.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NetworkInterfaceAssociation |
withAllocationId(java.lang.String allocationId)
The allocation ID.
|
NetworkInterfaceAssociation |
withAssociationId(java.lang.String associationId)
The association ID.
|
NetworkInterfaceAssociation |
withIpOwnerId(java.lang.String ipOwnerId)
The ID of the Elastic IP address owner.
|
NetworkInterfaceAssociation |
withPublicDnsName(java.lang.String publicDnsName)
The public DNS name.
|
NetworkInterfaceAssociation |
withPublicIp(java.lang.String publicIp)
The address of the Elastic IP address bound to the network interface.
|
private java.lang.String publicIp
The address of the Elastic IP address bound to the network interface.
private java.lang.String publicDnsName
The public DNS name.
private java.lang.String ipOwnerId
The ID of the Elastic IP address owner.
private java.lang.String allocationId
The allocation ID.
private java.lang.String associationId
The association ID.
public void setPublicIp(java.lang.String publicIp)
The address of the Elastic IP address bound to the network interface.
publicIp
- The address of the Elastic IP address bound to the network
interface.public java.lang.String getPublicIp()
The address of the Elastic IP address bound to the network interface.
public NetworkInterfaceAssociation withPublicIp(java.lang.String publicIp)
The address of the Elastic IP address bound to the network interface.
publicIp
- The address of the Elastic IP address bound to the network
interface.public void setPublicDnsName(java.lang.String publicDnsName)
The public DNS name.
publicDnsName
- The public DNS name.public java.lang.String getPublicDnsName()
The public DNS name.
public NetworkInterfaceAssociation withPublicDnsName(java.lang.String publicDnsName)
The public DNS name.
publicDnsName
- The public DNS name.public void setIpOwnerId(java.lang.String ipOwnerId)
The ID of the Elastic IP address owner.
ipOwnerId
- The ID of the Elastic IP address owner.public java.lang.String getIpOwnerId()
The ID of the Elastic IP address owner.
public NetworkInterfaceAssociation withIpOwnerId(java.lang.String ipOwnerId)
The ID of the Elastic IP address owner.
ipOwnerId
- The ID of the Elastic IP address owner.public void setAllocationId(java.lang.String allocationId)
The allocation ID.
allocationId
- The allocation ID.public java.lang.String getAllocationId()
The allocation ID.
public NetworkInterfaceAssociation withAllocationId(java.lang.String allocationId)
The allocation ID.
allocationId
- The allocation ID.public void setAssociationId(java.lang.String associationId)
The association ID.
associationId
- The association ID.public java.lang.String getAssociationId()
The association ID.
public NetworkInterfaceAssociation withAssociationId(java.lang.String associationId)
The association ID.
associationId
- The association ID.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 NetworkInterfaceAssociation clone()
clone
in class java.lang.Object