Class ElasticIp

java.lang.Object
com.amazonaws.services.opsworks.model.ElasticIp
All Implemented Interfaces:
Serializable, Cloneable

public class ElasticIp extends Object implements Serializable, Cloneable

Describes an Elastic IP address.

See Also:
  • Constructor Details

    • ElasticIp

      public ElasticIp()
  • Method Details

    • setIp

      public void setIp(String ip)

      The IP address.

      Parameters:
      ip - The IP address.
    • getIp

      public String getIp()

      The IP address.

      Returns:
      The IP address.
    • withIp

      public ElasticIp withIp(String ip)

      The IP address.

      Parameters:
      ip - The IP address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)

      The name.

      Parameters:
      name - The name.
    • getName

      public String getName()

      The name.

      Returns:
      The name.
    • withName

      public ElasticIp withName(String name)

      The name.

      Parameters:
      name - The name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDomain

      public void setDomain(String domain)

      The domain.

      Parameters:
      domain - The domain.
    • getDomain

      public String getDomain()

      The domain.

      Returns:
      The domain.
    • withDomain

      public ElasticIp withDomain(String domain)

      The domain.

      Parameters:
      domain - The domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRegion

      public void setRegion(String region)

      The AWS region. For more information, see Regions and Endpoints.

      Parameters:
      region - The AWS region. For more information, see Regions and Endpoints.
    • getRegion

      public String getRegion()

      The AWS region. For more information, see Regions and Endpoints.

      Returns:
      The AWS region. For more information, see Regions and Endpoints.
    • withRegion

      public ElasticIp withRegion(String region)

      The AWS region. For more information, see Regions and Endpoints.

      Parameters:
      region - The AWS region. For more information, see Regions and Endpoints.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setInstanceId

      public void setInstanceId(String instanceId)

      The ID of the instance that the address is attached to.

      Parameters:
      instanceId - The ID of the instance that the address is attached to.
    • getInstanceId

      public String getInstanceId()

      The ID of the instance that the address is attached to.

      Returns:
      The ID of the instance that the address is attached to.
    • withInstanceId

      public ElasticIp withInstanceId(String instanceId)

      The ID of the instance that the address is attached to.

      Parameters:
      instanceId - The ID of the instance that the address is attached to.
      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

      public ElasticIp clone()
      Overrides:
      clone in class Object