public class DescribeElasticIpsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
instanceId
The instance ID.
|
private SdkInternalList<java.lang.String> |
ips
An array of Elastic IP addresses to be described.
|
private java.lang.String |
stackId
A stack ID.
|
NOOP
Constructor and Description |
---|
DescribeElasticIpsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeElasticIpsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The instance ID.
|
java.util.List<java.lang.String> |
getIps()
An array of Elastic IP addresses to be described.
|
java.lang.String |
getStackId()
A stack ID.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The instance ID.
|
void |
setIps(java.util.Collection<java.lang.String> ips)
An array of Elastic IP addresses to be described.
|
void |
setStackId(java.lang.String stackId)
A stack ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeElasticIpsRequest |
withInstanceId(java.lang.String instanceId)
The instance ID.
|
DescribeElasticIpsRequest |
withIps(java.util.Collection<java.lang.String> ips)
An array of Elastic IP addresses to be described.
|
DescribeElasticIpsRequest |
withIps(java.lang.String... ips)
An array of Elastic IP addresses to be described.
|
DescribeElasticIpsRequest |
withStackId(java.lang.String stackId)
A stack ID.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String instanceId
The instance ID. If you include this parameter,
DescribeElasticIps
returns a description of the Elastic IP
addresses associated with the specified instance.
private java.lang.String 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.
private SdkInternalList<java.lang.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.
public void setInstanceId(java.lang.String instanceId)
The instance ID. If you include this parameter,
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 java.lang.String getInstanceId()
The instance ID. If you include this parameter,
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 DescribeElasticIpsRequest withInstanceId(java.lang.String instanceId)
The instance ID. If you include this parameter,
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 void setStackId(java.lang.String 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.
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 java.lang.String getStackId()
A stack ID. If you include this parameter,
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 DescribeElasticIpsRequest withStackId(java.lang.String 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.
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 java.util.List<java.lang.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.
DescribeElasticIps
returns a
description of the specified Elastic IP addresses. Otherwise, it
returns a description of every Elastic IP address.public void setIps(java.util.Collection<java.lang.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.
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(java.lang.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.
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.
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(java.util.Collection<java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeElasticIpsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()