public class DescribeElasticIpsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 .
NOOP
Constructor and Description |
---|
DescribeElasticIpsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeElasticIpsRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, 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.
NOTE: This method appends the values to the existing list (if
any). Use setIps(java.util.Collection)
or withIps(java.util.Collection)
if you want to override the existing
values.
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()
public DescribeElasticIpsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.