@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getInstanceIds()
An array of instance IDs to be described.
|
String |
getLayerId()
A layer ID.
|
String |
getStackId()
A stack ID.
|
int |
hashCode() |
void |
setInstanceIds(Collection<String> instanceIds)
An array of instance IDs to be described.
|
void |
setLayerId(String layerId)
A layer ID.
|
void |
setStackId(String stackId)
A stack ID.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
An array of instance IDs to be described.
|
DescribeInstancesRequest |
withInstanceIds(String... instanceIds)
An array of instance IDs to be described.
|
DescribeInstancesRequest |
withLayerId(String layerId)
A layer ID.
|
DescribeInstancesRequest |
withStackId(String stackId)
A stack ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStackId(String stackId)
A stack ID. If you use this parameter, DescribeInstances
returns descriptions of the instances
associated with the specified stack.
stackId
- A stack ID. If you use this parameter, DescribeInstances
returns descriptions of the
instances associated with the specified stack.public String getStackId()
A stack ID. If you use this parameter, DescribeInstances
returns descriptions of the instances
associated with the specified stack.
DescribeInstances
returns descriptions of the
instances associated with the specified stack.public DescribeInstancesRequest withStackId(String stackId)
A stack ID. If you use this parameter, DescribeInstances
returns descriptions of the instances
associated with the specified stack.
stackId
- A stack ID. If you use this parameter, DescribeInstances
returns descriptions of the
instances associated with the specified stack.public void setLayerId(String layerId)
A layer ID. If you use this parameter, DescribeInstances
returns descriptions of the instances
associated with the specified layer.
layerId
- A layer ID. If you use this parameter, DescribeInstances
returns descriptions of the
instances associated with the specified layer.public String getLayerId()
A layer ID. If you use this parameter, DescribeInstances
returns descriptions of the instances
associated with the specified layer.
DescribeInstances
returns descriptions of the
instances associated with the specified layer.public DescribeInstancesRequest withLayerId(String layerId)
A layer ID. If you use this parameter, DescribeInstances
returns descriptions of the instances
associated with the specified layer.
layerId
- A layer ID. If you use this parameter, DescribeInstances
returns descriptions of the
instances associated with the specified layer.public List<String> getInstanceIds()
An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a
description of the specified instances. Otherwise, it returns a description of every instance.
DescribeInstances
returns a description of the specified instances. Otherwise, it returns a description of every instance.public void setInstanceIds(Collection<String> instanceIds)
An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a
description of the specified instances. Otherwise, it returns a description of every instance.
instanceIds
- An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a description of the specified instances. Otherwise, it returns a description of every instance.public DescribeInstancesRequest withInstanceIds(String... instanceIds)
An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a
description of the specified instances. Otherwise, it returns a description of every instance.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a description of the specified instances. Otherwise, it returns a description of every instance.public DescribeInstancesRequest withInstanceIds(Collection<String> instanceIds)
An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a
description of the specified instances. Otherwise, it returns a description of every instance.
instanceIds
- An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a description of the specified instances. Otherwise, it returns a description of every instance.public String toString()
toString
in class Object
Object.toString()
public DescribeInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()