Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeElasticIpsRequest

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

public class DescribeElasticIpsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeElasticIps operation.

Describes an instance's Elastic IP addresses .

See Also:
AWSOpsWorks.describeElasticIps(DescribeElasticIpsRequest), Serialized Form

Constructor Summary
DescribeElasticIpsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getInstanceId()
          The instance ID.
 List<String> getIps()
          An array of Elastic IP addresses to be described.
 int hashCode()
           
 void setInstanceId(String instanceId)
          The instance ID.
 void setIps(Collection<String> ips)
          An array of Elastic IP addresses to be described.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeElasticIpsRequest withInstanceId(String instanceId)
          The instance ID.
 DescribeElasticIpsRequest withIps(Collection<String> ips)
          An array of Elastic IP addresses to be described.
 DescribeElasticIpsRequest withIps(String... ips)
          An array of Elastic IP addresses to be described.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeElasticIpsRequest

public DescribeElasticIpsRequest()
Method Detail

getInstanceId

public String getInstanceId()
The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

Returns:
The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

setInstanceId

public void setInstanceId(String instanceId)
The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

Parameters:
instanceId - The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

withInstanceId

public DescribeElasticIpsRequest withInstanceId(String instanceId)
The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

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

Parameters:
instanceId - The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getIps

public List<String> getIps()
An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

Returns:
An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

setIps

public void setIps(Collection<String> ips)
An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

Parameters:
ips - An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

withIps

public DescribeElasticIpsRequest withIps(String... ips)
An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

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

Parameters:
ips - An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.
Returns:
A reference to this updated object so that method calls can be chained together.

withIps

public DescribeElasticIpsRequest withIps(Collection<String> ips)
An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

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

Parameters:
ips - An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.
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.