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 InstanceNetworkInterfaceAssociation
clone()
boolean
equals(Object obj)
String
getIpOwnerId()
The ID of the owner of the Elastic IP address.String
getPublicDnsName()
The public DNS name.String
getPublicIp()
The public IP address or Elastic IP address bound to the network interface.int
hashCode()
void
setIpOwnerId(String ipOwnerId)
The ID of the owner of the Elastic IP address.void
setPublicDnsName(String publicDnsName)
The public DNS name.void
setPublicIp(String publicIp)
The public IP address or Elastic IP address bound to the network interface.String
toString()
Returns a string representation of this object; useful for testing and debugging.InstanceNetworkInterfaceAssociation
withIpOwnerId(String ipOwnerId)
The ID of the owner of the Elastic IP address.InstanceNetworkInterfaceAssociation
withPublicDnsName(String publicDnsName)
The public DNS name.InstanceNetworkInterfaceAssociation
withPublicIp(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceNetworkInterfaceAssociation clone()
-
-