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 NetworkInterfaceAssociationclone()booleanequals(Object obj)StringgetAllocationId()The allocation ID.StringgetAssociationId()The association ID.StringgetIpOwnerId()The ID of the Elastic IP address owner.StringgetPublicDnsName()The public DNS name.StringgetPublicIp()The address of the Elastic IP address bound to the network interface.inthashCode()voidsetAllocationId(String allocationId)The allocation ID.voidsetAssociationId(String associationId)The association ID.voidsetIpOwnerId(String ipOwnerId)The ID of the Elastic IP address owner.voidsetPublicDnsName(String publicDnsName)The public DNS name.voidsetPublicIp(String publicIp)The address of the Elastic IP address bound to the network interface.StringtoString()Returns a string representation of this object; useful for testing and debugging.NetworkInterfaceAssociationwithAllocationId(String allocationId)The allocation ID.NetworkInterfaceAssociationwithAssociationId(String associationId)The association ID.NetworkInterfaceAssociationwithIpOwnerId(String ipOwnerId)The ID of the Elastic IP address owner.NetworkInterfaceAssociationwithPublicDnsName(String publicDnsName)The public DNS name.NetworkInterfaceAssociationwithPublicIp(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public NetworkInterfaceAssociation clone()
-
-