@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterfaceAssociation extends Object implements Serializable, Cloneable
Describes association information for an Elastic IP address (IPv4 only), or a Carrier IP address (for a network interface which resides in a subnet in a Wavelength Zone).
Constructor and Description |
---|
NetworkInterfaceAssociation() |
Modifier and Type | Method and Description |
---|---|
NetworkInterfaceAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAllocationId()
The allocation ID.
|
String |
getAssociationId()
The association ID.
|
String |
getCarrierIp()
The carrier IP address associated with the network interface.
|
String |
getCustomerOwnedIp()
The customer-owned IP address associated with the network interface.
|
String |
getIpOwnerId()
The ID of the Elastic IP address owner.
|
String |
getPublicDnsName()
The public DNS name.
|
String |
getPublicIp()
The address of the Elastic IP address bound to the network interface.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
The allocation ID.
|
void |
setAssociationId(String associationId)
The association ID.
|
void |
setCarrierIp(String carrierIp)
The carrier IP address associated with the network interface.
|
void |
setCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address associated with the network interface.
|
void |
setIpOwnerId(String ipOwnerId)
The ID of the Elastic IP address owner.
|
void |
setPublicDnsName(String publicDnsName)
The public DNS name.
|
void |
setPublicIp(String publicIp)
The address of the Elastic IP address bound to the network interface.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterfaceAssociation |
withAllocationId(String allocationId)
The allocation ID.
|
NetworkInterfaceAssociation |
withAssociationId(String associationId)
The association ID.
|
NetworkInterfaceAssociation |
withCarrierIp(String carrierIp)
The carrier IP address associated with the network interface.
|
NetworkInterfaceAssociation |
withCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address associated with the network interface.
|
NetworkInterfaceAssociation |
withIpOwnerId(String ipOwnerId)
The ID of the Elastic IP address owner.
|
NetworkInterfaceAssociation |
withPublicDnsName(String publicDnsName)
The public DNS name.
|
NetworkInterfaceAssociation |
withPublicIp(String publicIp)
The address of the Elastic IP address bound to the network interface.
|
public void setAllocationId(String allocationId)
The allocation ID.
allocationId
- The allocation ID.public String getAllocationId()
The allocation ID.
public NetworkInterfaceAssociation withAllocationId(String allocationId)
The allocation ID.
allocationId
- The allocation ID.public void setAssociationId(String associationId)
The association ID.
associationId
- The association ID.public String getAssociationId()
The association ID.
public NetworkInterfaceAssociation withAssociationId(String associationId)
The association ID.
associationId
- The association ID.public void setIpOwnerId(String ipOwnerId)
The ID of the Elastic IP address owner.
ipOwnerId
- The ID of the Elastic IP address owner.public String getIpOwnerId()
The ID of the Elastic IP address owner.
public NetworkInterfaceAssociation withIpOwnerId(String ipOwnerId)
The ID of the Elastic IP address owner.
ipOwnerId
- The ID of the Elastic IP address owner.public void setPublicDnsName(String publicDnsName)
The public DNS name.
publicDnsName
- The public DNS name.public String getPublicDnsName()
The public DNS name.
public NetworkInterfaceAssociation withPublicDnsName(String publicDnsName)
The public DNS name.
publicDnsName
- The public DNS name.public void setPublicIp(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 String getPublicIp()
The address of the Elastic IP address bound to the network interface.
public NetworkInterfaceAssociation withPublicIp(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 setCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address associated with the network interface.
customerOwnedIp
- The customer-owned IP address associated with the network interface.public String getCustomerOwnedIp()
The customer-owned IP address associated with the network interface.
public NetworkInterfaceAssociation withCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address associated with the network interface.
customerOwnedIp
- The customer-owned IP address associated with the network interface.public void setCarrierIp(String carrierIp)
The carrier IP address associated with the network interface.
This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.
carrierIp
- The carrier IP address associated with the network interface.
This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.
public String getCarrierIp()
The carrier IP address associated with the network interface.
This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.
This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.
public NetworkInterfaceAssociation withCarrierIp(String carrierIp)
The carrier IP address associated with the network interface.
This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.
carrierIp
- The carrier IP address associated with the network interface.
This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.
public String toString()
toString
in class Object
Object.toString()
public NetworkInterfaceAssociation clone()