public class DescribeElasticIpsRequest extends AmazonWebServiceRequest implements Serializable
DescribeElasticIps operation.
Describes an instance's Elastic IP addresses .
| Constructor and Description |
|---|
DescribeElasticIpsRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic String getInstanceId()
DescribeElasticIps returns a description of the Elastic
IP addresses associated with the specified instance.DescribeElasticIps returns a description of the Elastic
IP addresses associated with the specified instance.public void setInstanceId(String instanceId)
DescribeElasticIps returns a description of the Elastic
IP addresses associated with the specified instance.instanceId - The instance ID. If you include this parameter,
DescribeElasticIps returns a description of the Elastic
IP addresses associated with the specified instance.public DescribeElasticIpsRequest withInstanceId(String instanceId)
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.
instanceId - The instance ID. If you include this parameter,
DescribeElasticIps returns a description of the Elastic
IP addresses associated with the specified instance.public List<String> getIps()
DescribeElasticIps returns a description of
the specified Elastic IP addresses. Otherwise, it returns a
description of every Elastic IP address.DescribeElasticIps returns a description of
the specified Elastic IP addresses. Otherwise, it returns a
description of every Elastic IP address.public void setIps(Collection<String> ips)
DescribeElasticIps returns a description of
the specified Elastic IP addresses. Otherwise, it returns a
description of every Elastic IP address.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.public DescribeElasticIpsRequest withIps(String... ips)
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.
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.public DescribeElasticIpsRequest withIps(Collection<String> ips)
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.
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.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.