Package com.amazonaws.services.ec2.model
Class InstanceNetworkInterfaceAssociation
- java.lang.Object
-
- com.amazonaws.services.ec2.model.InstanceNetworkInterfaceAssociation
-
- All Implemented Interfaces:
Serializable,Cloneable
public class InstanceNetworkInterfaceAssociation extends Object implements Serializable, Cloneable
Describes association information for an Elastic IP address.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceNetworkInterfaceAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceNetworkInterfaceAssociationclone()booleanequals(Object obj)StringgetIpOwnerId()The ID of the owner of the Elastic IP address.StringgetPublicDnsName()The public DNS name.StringgetPublicIp()The public IP address or Elastic IP address bound to the network interface.inthashCode()voidsetIpOwnerId(String ipOwnerId)The ID of the owner of the Elastic IP address.voidsetPublicDnsName(String publicDnsName)The public DNS name.voidsetPublicIp(String publicIp)The public IP address or Elastic IP address bound to the network interface.StringtoString()Returns a string representation of this object; useful for testing and debugging.InstanceNetworkInterfaceAssociationwithIpOwnerId(String ipOwnerId)The ID of the owner of the Elastic IP address.InstanceNetworkInterfaceAssociationwithPublicDnsName(String publicDnsName)The public DNS name.InstanceNetworkInterfaceAssociationwithPublicIp(String publicIp)The public IP address or Elastic IP address bound to the network interface.
-
-
-
Method Detail
-
setPublicIp
public void setPublicIp(String publicIp)
The public IP address or Elastic IP address bound to the network interface.
- Parameters:
publicIp- The public IP address or Elastic IP address bound to the network interface.
-
getPublicIp
public String getPublicIp()
The public IP address or Elastic IP address bound to the network interface.
- Returns:
- The public IP address or Elastic IP address bound to the network interface.
-
withPublicIp
public InstanceNetworkInterfaceAssociation withPublicIp(String publicIp)
The public IP address or Elastic IP address bound to the network interface.
- Parameters:
publicIp- The public IP address or 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 InstanceNetworkInterfaceAssociation 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 owner of the Elastic IP address.
- Parameters:
ipOwnerId- The ID of the owner of the Elastic IP address.
-
getIpOwnerId
public String getIpOwnerId()
The ID of the owner of the Elastic IP address.
- Returns:
- The ID of the owner of the Elastic IP address.
-
withIpOwnerId
public InstanceNetworkInterfaceAssociation withIpOwnerId(String ipOwnerId)
The ID of the owner of the Elastic IP address.
- Parameters:
ipOwnerId- The ID of the owner of the Elastic IP address.- 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 InstanceNetworkInterfaceAssociation clone()
-
-