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:
  • Constructor Details

    • InstanceNetworkInterfaceAssociation

      public InstanceNetworkInterfaceAssociation()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object