Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class ElasticIp

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.ElasticIp
All Implemented Interfaces:
Serializable

public class ElasticIp
extends Object
implements Serializable

Describes an Elastic IP address.

See Also:
Serialized Form

Constructor Summary
ElasticIp()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDomain()
          The domain.
 String getIp()
          The IP address
 String getName()
          The name.
 String getRegion()
          The AWS region.
 int hashCode()
           
 void setDomain(String domain)
          The domain.
 void setIp(String ip)
          The IP address
 void setName(String name)
          The name.
 void setRegion(String region)
          The AWS region.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ElasticIp withDomain(String domain)
          The domain.
 ElasticIp withIp(String ip)
          The IP address
 ElasticIp withName(String name)
          The name.
 ElasticIp withRegion(String region)
          The AWS region.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElasticIp

public ElasticIp()
Method Detail

getIp

public String getIp()
The IP address

Returns:
The IP address

setIp

public void setIp(String ip)
The IP address

Parameters:
ip - The IP address

withIp

public ElasticIp withIp(String ip)
The IP address

Returns a reference to this object so that method calls can be chained together.

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

getName

public String getName()
The name.

Returns:
The name.

setName

public void setName(String name)
The name.

Parameters:
name - The name.

withName

public ElasticIp withName(String name)
The name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The name.
Returns:
A reference to this updated object so that method calls can be chained together.

getDomain

public String getDomain()
The domain.

Returns:
The domain.

setDomain

public void setDomain(String domain)
The domain.

Parameters:
domain - The domain.

withDomain

public ElasticIp withDomain(String domain)
The domain.

Returns a reference to this object so that method calls can be chained together.

Parameters:
domain - The domain.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withRegion

public ElasticIp withRegion(String region)
The AWS region. For more information, see Regions and Endpoints.

Returns a reference to this object so that method calls can be chained together.

Parameters:
region - The AWS region. For more information, see Regions and Endpoints.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.