public class InstanceNetworkInterfaceAssociation
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 |
ipOwnerId
The ID of the owner of the Elastic IP address.
|
private java.lang.String |
publicDnsName
The public DNS name.
|
private java.lang.String |
publicIp
The public IP address or Elastic IP address bound to the network
interface.
|
Constructor and Description |
---|
InstanceNetworkInterfaceAssociation() |
Modifier and Type | Method and Description |
---|---|
InstanceNetworkInterfaceAssociation |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIpOwnerId()
The ID of the owner of the Elastic IP address.
|
java.lang.String |
getPublicDnsName()
The public DNS name.
|
java.lang.String |
getPublicIp()
The public IP address or Elastic IP address bound to the network
interface.
|
int |
hashCode() |
void |
setIpOwnerId(java.lang.String ipOwnerId)
The ID of the owner of the Elastic IP address.
|
void |
setPublicDnsName(java.lang.String publicDnsName)
The public DNS name.
|
void |
setPublicIp(java.lang.String publicIp)
The public IP address or Elastic IP address bound to the network
interface.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceNetworkInterfaceAssociation |
withIpOwnerId(java.lang.String ipOwnerId)
The ID of the owner of the Elastic IP address.
|
InstanceNetworkInterfaceAssociation |
withPublicDnsName(java.lang.String publicDnsName)
The public DNS name.
|
InstanceNetworkInterfaceAssociation |
withPublicIp(java.lang.String publicIp)
The public IP address or Elastic IP address bound to the network
interface.
|
private java.lang.String publicIp
The public IP address or 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 owner of the Elastic IP address.
public void setPublicIp(java.lang.String publicIp)
The public IP address or Elastic IP address bound to the network interface.
publicIp
- The public IP address or Elastic IP address bound to the network
interface.public java.lang.String getPublicIp()
The public IP address or Elastic IP address bound to the network interface.
public InstanceNetworkInterfaceAssociation withPublicIp(java.lang.String publicIp)
The public IP address or Elastic IP address bound to the network interface.
publicIp
- The public IP address or 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 InstanceNetworkInterfaceAssociation 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 owner of the Elastic IP address.
ipOwnerId
- The ID of the owner of the Elastic IP address.public java.lang.String getIpOwnerId()
The ID of the owner of the Elastic IP address.
public InstanceNetworkInterfaceAssociation withIpOwnerId(java.lang.String ipOwnerId)
The ID of the owner of the Elastic IP address.
ipOwnerId
- The ID of the owner of the Elastic IP address.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 InstanceNetworkInterfaceAssociation clone()
clone
in class java.lang.Object