Class DescribeInstancesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
An array of instance IDs to be described.A layer ID.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.toString()
Returns a string representation of this object; useful for testing and debugging.withInstanceIds
(String... instanceIds) An array of instance IDs to be described.withInstanceIds
(Collection<String> instanceIds) An array of instance IDs to be described.withLayerId
(String layerId) A layer ID.withStackId
(String stackId) A stack ID.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
DescribeInstancesRequest
public DescribeInstancesRequest()
-
-
Method Details
-
setStackId
A stack ID. If you use this parameter,
DescribeInstances
returns descriptions of the instances associated with the specified stack.- Parameters:
stackId
- A stack ID. If you use this parameter,DescribeInstances
returns descriptions of the instances associated with the specified stack.
-
getStackId
A stack ID. If you use this parameter,
DescribeInstances
returns descriptions of the instances associated with the specified stack.- Returns:
- A stack ID. If you use this parameter,
DescribeInstances
returns descriptions of the instances associated with the specified stack.
-
withStackId
A stack ID. If you use this parameter,
DescribeInstances
returns descriptions of the instances associated with the specified stack.- Parameters:
stackId
- A stack ID. If you use this parameter,DescribeInstances
returns descriptions of the instances associated with the specified stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLayerId
A layer ID. If you use this parameter,
DescribeInstances
returns descriptions of the instances associated with the specified layer.- Parameters:
layerId
- A layer ID. If you use this parameter,DescribeInstances
returns descriptions of the instances associated with the specified layer.
-
getLayerId
A layer ID. If you use this parameter,
DescribeInstances
returns descriptions of the instances associated with the specified layer.- Returns:
- A layer ID. If you use this parameter,
DescribeInstances
returns descriptions of the instances associated with the specified layer.
-
withLayerId
A layer ID. If you use this parameter,
DescribeInstances
returns descriptions of the instances associated with the specified layer.- Parameters:
layerId
- A layer ID. If you use this parameter,DescribeInstances
returns descriptions of the instances associated with the specified layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- 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.
-
setInstanceIds
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.- Parameters:
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.
-
withInstanceIds
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)
orwithInstanceIds(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceIds
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-