Package com.amazonaws.services.ec2.model
Class NetworkInterfaceAssociation
- java.lang.Object
-
- com.amazonaws.services.ec2.model.NetworkInterfaceAssociation
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class NetworkInterfaceAssociation extends Object implements Serializable, Cloneable
Describes association information for an Elastic IP address.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkInterfaceAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkInterfaceAssociation
clone()
boolean
equals(Object obj)
String
getAllocationId()
The allocation ID.String
getAssociationId()
The association ID.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
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; useful for testing and debugging.NetworkInterfaceAssociation
withAllocationId(String allocationId)
The allocation ID.NetworkInterfaceAssociation
withAssociationId(String associationId)
The association ID.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.
-
-
-
Method Detail
-
setPublicIp
public void setPublicIp(String publicIp)
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
public String 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
public NetworkInterfaceAssociation withPublicIp(String publicIp)
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
public void setPublicDnsName(String publicDnsName)
The public DNS name.
- Parameters:
publicDnsName
- The public DNS name.
-
getPublicDnsName
public String getPublicDnsName()
The public DNS name.
- Returns:
- The public DNS name.
-
withPublicDnsName
public NetworkInterfaceAssociation withPublicDnsName(String publicDnsName)
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
public void setIpOwnerId(String ipOwnerId)
The ID of the Elastic IP address owner.
- Parameters:
ipOwnerId
- The ID of the Elastic IP address owner.
-
getIpOwnerId
public String getIpOwnerId()
The ID of the Elastic IP address owner.
- Returns:
- The ID of the Elastic IP address owner.
-
withIpOwnerId
public NetworkInterfaceAssociation withIpOwnerId(String ipOwnerId)
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
public void setAllocationId(String allocationId)
The allocation ID.
- Parameters:
allocationId
- The allocation ID.
-
getAllocationId
public String getAllocationId()
The allocation ID.
- Returns:
- The allocation ID.
-
withAllocationId
public NetworkInterfaceAssociation withAllocationId(String allocationId)
The allocation ID.
- Parameters:
allocationId
- The allocation ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAssociationId
public void setAssociationId(String associationId)
The association ID.
- Parameters:
associationId
- The association ID.
-
getAssociationId
public String getAssociationId()
The association ID.
- Returns:
- The association ID.
-
withAssociationId
public NetworkInterfaceAssociation withAssociationId(String associationId)
The association ID.
- Parameters:
associationId
- The association ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public NetworkInterfaceAssociation clone()
-
-