|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.DescribeInstancesRequest
public class DescribeInstancesRequest
Container for the parameters to the DescribeInstances operation
.
Requests a description of a set of instances associated with a specified ID or IDs.
AWSOpsWorks.describeInstances(DescribeInstancesRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeInstancesRequest()
|
Method Summary | |
---|---|
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; useful for testing and debugging. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeInstancesRequest()
Method Detail |
---|
public 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(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(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 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(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(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 List<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(Collection<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(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(Collection<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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |