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 getIp()
          The Elastic IP address
 String getName()
          The Elastic IP address name.
 String getRegion()
          The AWS region.
 int hashCode()
           
 void setIp(String ip)
          The Elastic IP address
 void setName(String name)
          The Elastic IP address name.
 void setRegion(String region)
          The AWS region.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ElasticIp withIp(String ip)
          The Elastic IP address
 ElasticIp withName(String name)
          The Elastic IP address 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 Elastic IP address

Returns:
The Elastic IP address

setIp

public void setIp(String ip)
The Elastic IP address

Parameters:
ip - The Elastic IP address

withIp

public ElasticIp withIp(String ip)
The Elastic IP address

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

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

getName

public String getName()
The Elastic IP address name.

Returns:
The Elastic IP address name.

setName

public void setName(String name)
The Elastic IP address name.

Parameters:
name - The Elastic IP address name.

withName

public ElasticIp withName(String name)
The Elastic IP address name.

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

Parameters:
name - The Elastic IP address name.
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.