Package com.amazonaws.services.ec2.model
Class NetworkInterfaceAssociation
java.lang.Object
com.amazonaws.services.ec2.model.NetworkInterfaceAssociation
- All Implemented Interfaces:
Serializable
,Cloneable
Describes association information for an Elastic IP address.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The allocation ID.The association ID.The ID of the Elastic IP address owner.The public DNS name.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAllocationId
(String allocationId) The allocation ID.withAssociationId
(String associationId) The association ID.withIpOwnerId
(String ipOwnerId) The ID of the Elastic IP address owner.withPublicDnsName
(String publicDnsName) The public DNS name.withPublicIp
(String publicIp) The address of the Elastic IP address bound to the network interface.
-
Constructor Details
-
NetworkInterfaceAssociation
public NetworkInterfaceAssociation()
-
-
Method Details
-
setPublicIp
The address of the Elastic IP address bound to the network interface.
- Parameters:
publicIp
- The address of the Elastic IP address bound to the network interface.
-
getPublicIp
The address of the Elastic IP address bound to the network interface.
- Returns:
- The address of the Elastic IP address bound to the network interface.
-
withPublicIp
The address of the Elastic IP address bound to the network interface.
- Parameters:
publicIp
- The address of the Elastic IP address bound to the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPublicDnsName
The public DNS name.
- Parameters:
publicDnsName
- The public DNS name.
-
getPublicDnsName
The public DNS name.
- Returns:
- The public DNS name.
-
withPublicDnsName
The public DNS name.
- Parameters:
publicDnsName
- The public DNS name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIpOwnerId
The ID of the Elastic IP address owner.
- Parameters:
ipOwnerId
- The ID of the Elastic IP address owner.
-
getIpOwnerId
The ID of the Elastic IP address owner.
- Returns:
- The ID of the Elastic IP address owner.
-
withIpOwnerId
The ID of the Elastic IP address owner.
- Parameters:
ipOwnerId
- The ID of the Elastic IP address owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllocationId
The allocation ID.
- Parameters:
allocationId
- The allocation ID.
-
getAllocationId
The allocation ID.
- Returns:
- The allocation ID.
-
withAllocationId
The allocation ID.
- Parameters:
allocationId
- The allocation ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAssociationId
The association ID.
- Parameters:
associationId
- The association ID.
-
getAssociationId
The association ID.
- Returns:
- The association ID.
-
withAssociationId
The association ID.
- Parameters:
associationId
- The association ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-