public class NetworkInterfaceAssociation
extends java.lang.Object
implements java.io.Serializable
Describes association information for an Elastic IP address.
Constructor and Description |
---|
NetworkInterfaceAssociation() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getPublicIp()
public void setPublicIp(java.lang.String publicIp)
publicIp
- The address of the Elastic IP address bound to the network interface.public NetworkInterfaceAssociation withPublicIp(java.lang.String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp
- The address of the Elastic IP address bound to the network interface.public java.lang.String getPublicDnsName()
public void setPublicDnsName(java.lang.String publicDnsName)
publicDnsName
- The public DNS name.public NetworkInterfaceAssociation withPublicDnsName(java.lang.String publicDnsName)
Returns a reference to this object so that method calls can be chained together.
publicDnsName
- The public DNS name.public java.lang.String getIpOwnerId()
public void setIpOwnerId(java.lang.String ipOwnerId)
ipOwnerId
- The ID of the Elastic IP address owner.public NetworkInterfaceAssociation withIpOwnerId(java.lang.String ipOwnerId)
Returns a reference to this object so that method calls can be chained together.
ipOwnerId
- The ID of the Elastic IP address owner.public java.lang.String getAllocationId()
public void setAllocationId(java.lang.String allocationId)
allocationId
- The allocation ID.public NetworkInterfaceAssociation withAllocationId(java.lang.String allocationId)
Returns a reference to this object so that method calls can be chained together.
allocationId
- The allocation ID.public java.lang.String getAssociationId()
public void setAssociationId(java.lang.String associationId)
associationId
- The association ID.public NetworkInterfaceAssociation withAssociationId(java.lang.String associationId)
Returns a reference to this object so that method calls can be chained together.
associationId
- The association ID.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.