@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
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) |
String |
getFleetId()
Unique identifier for a fleet to retrieve instance information for.
|
String |
getInstanceId()
Unique identifier for an instance to retrieve.
|
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token that indicates the start of the next sequential page of results.
|
int |
hashCode() |
void |
setFleetId(String fleetId)
Unique identifier for a fleet to retrieve instance information for.
|
void |
setInstanceId(String instanceId)
Unique identifier for an instance to retrieve.
|
void |
setLimit(Integer limit)
Maximum number of results to return.
|
void |
setNextToken(String nextToken)
Token that indicates the start of the next sequential page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeInstancesRequest |
withFleetId(String fleetId)
Unique identifier for a fleet to retrieve instance information for.
|
DescribeInstancesRequest |
withInstanceId(String instanceId)
Unique identifier for an instance to retrieve.
|
DescribeInstancesRequest |
withLimit(Integer limit)
Maximum number of results to return.
|
DescribeInstancesRequest |
withNextToken(String nextToken)
Token that indicates the start of the next sequential page of results.
|
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 setFleetId(String fleetId)
Unique identifier for a fleet to retrieve instance information for.
fleetId
- Unique identifier for a fleet to retrieve instance information for.public String getFleetId()
Unique identifier for a fleet to retrieve instance information for.
public DescribeInstancesRequest withFleetId(String fleetId)
Unique identifier for a fleet to retrieve instance information for.
fleetId
- Unique identifier for a fleet to retrieve instance information for.public void setInstanceId(String instanceId)
Unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet.
instanceId
- Unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all
instances in the fleet.public String getInstanceId()
Unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet.
public DescribeInstancesRequest withInstanceId(String instanceId)
Unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet.
instanceId
- Unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all
instances in the fleet.public void setLimit(Integer limit)
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
limit
- Maximum number of results to return. Use this parameter with NextToken
to get results as a
set of sequential pages.public Integer getLimit()
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
NextToken
to get results as a
set of sequential pages.public DescribeInstancesRequest withLimit(Integer limit)
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
limit
- Maximum number of results to return. Use this parameter with NextToken
to get results as a
set of sequential pages.public void setNextToken(String nextToken)
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
nextToken
- Token that indicates the start of the next sequential page of results. Use the token that is returned with
a previous call to this action. To start at the beginning of the result set, do not specify a value.public String getNextToken()
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
public DescribeInstancesRequest withNextToken(String nextToken)
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
nextToken
- Token that indicates the start of the next sequential page of results. Use the token that is returned with
a previous call to this action. To start at the beginning of the result set, do not specify a value.public String toString()
toString
in class Object
Object.toString()
public DescribeInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.