public class DescribeInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeInstances operation.
Requests a description of a set of instances associated with a specified ID or IDs.
| コンストラクタと説明 |
|---|
DescribeInstancesRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getInstanceIds()
An array of instance IDs to be described.
|
java.lang.String |
getLayerId()
A layer ID.
|
java.lang.String |
getStackId()
A stack ID.
|
int |
hashCode() |
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
An array of instance IDs to be described.
|
void |
setLayerId(java.lang.String layerId)
A layer ID.
|
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.
|
DescribeInstancesRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
An array of instance IDs to be described.
|
DescribeInstancesRequest |
withInstanceIds(java.lang.String... instanceIds)
An array of instance IDs to be described.
|
DescribeInstancesRequest |
withLayerId(java.lang.String layerId)
A layer ID.
|
DescribeInstancesRequest |
withStackId(java.lang.String stackId)
A stack ID.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getStackId()
DescribeInstances
returns descriptions of the instances associated with the specified
stack.DescribeInstances
returns descriptions of the instances associated with the specified
stack.public void setStackId(java.lang.String stackId)
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 DescribeInstancesRequest withStackId(java.lang.String stackId)
DescribeInstances
returns descriptions of the instances associated with the specified
stack.
Returns a reference to this object so that method calls can be chained together.
stackId - A stack ID. If you use this parameter, DescribeInstances
returns descriptions of the instances associated with the specified
stack.public java.lang.String getLayerId()
DescribeInstances
returns descriptions of the instances associated with the specified
layer.DescribeInstances
returns descriptions of the instances associated with the specified
layer.public void setLayerId(java.lang.String layerId)
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 DescribeInstancesRequest withLayerId(java.lang.String layerId)
DescribeInstances
returns descriptions of the instances associated with the specified
layer.
Returns a reference to this object so that method calls can be chained together.
layerId - A layer ID. If you use this parameter, DescribeInstances
returns descriptions of the instances associated with the specified
layer.public java.util.List<java.lang.String> getInstanceIds()
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(java.util.Collection<java.lang.String> instanceIds)
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(java.lang.String... instanceIds)
DescribeInstances returns a description of the specified
instances. Otherwise, it returns a description of every instance.
Returns a reference to this object so that method calls can be chained together.
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(java.util.Collection<java.lang.String> instanceIds)
DescribeInstances returns a description of the specified
instances. Otherwise, it returns a description of every instance.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object