Package com.amazonaws.services.ec2.model
Class InstanceNetworkInterfaceAssociation
java.lang.Object
com.amazonaws.services.ec2.model.InstanceNetworkInterfaceAssociation
- 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 ID of the owner of the Elastic IP address.The public DNS name.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.toString()
Returns a string representation of this object; useful for testing and debugging.withIpOwnerId
(String ipOwnerId) The ID of the owner of the Elastic IP address.withPublicDnsName
(String publicDnsName) The public DNS name.withPublicIp
(String publicIp) The public IP address or Elastic IP address bound to the network interface.
-
Constructor Details
-
InstanceNetworkInterfaceAssociation
public InstanceNetworkInterfaceAssociation()
-
-
Method Details
-
setPublicIp
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
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
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
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 owner of the Elastic IP address.
- Parameters:
ipOwnerId
- The ID of the owner of the Elastic IP address.
-
getIpOwnerId
The ID of the owner of the Elastic IP address.
- Returns:
- The ID of the owner of the Elastic IP address.
-
withIpOwnerId
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-