public class DescribeElasticIpsRequest extends AmazonWebServiceRequest implements Serializable
DescribeElasticIps operation
.
Describes Elastic IP addresses .
NOTE:You must specify at least one of the parameters.
Required Permissions : To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
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.
|
String |
getStackId()
A stack ID.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The instance ID.
|
void |
setIps(Collection<String> ips)
An array of Elastic IP addresses to be described.
|
void |
setStackId(String stackId)
A stack ID.
|
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.
|
DescribeElasticIpsRequest |
withStackId(String stackId)
A stack ID.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public 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 String getStackId()
DescribeElasticIps
returns a description of the Elastic
IP addresses that are registered with the specified stack.DescribeElasticIps
returns a description of the Elastic
IP addresses that are registered with the specified stack.public void setStackId(String stackId)
DescribeElasticIps
returns a description of the Elastic
IP addresses that are registered with the specified stack.stackId
- A stack ID. If you include this parameter,
DescribeElasticIps
returns a description of the Elastic
IP addresses that are registered with the specified stack.public DescribeElasticIpsRequest withStackId(String stackId)
DescribeElasticIps
returns a description of the Elastic
IP addresses that are registered with the specified stack.
Returns a reference to this object so that method calls can be chained together.
stackId
- A stack ID. If you include this parameter,
DescribeElasticIps
returns a description of the Elastic
IP addresses that are registered with the specified stack.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 Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.