CopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
, SdkBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
public static interface DescribeInstancesRequest.Builder extends CopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeInstancesRequest.Builder |
fleetId(String fleetId) |
Unique identifier for a fleet to retrieve instance information for.
|
DescribeInstancesRequest.Builder |
instanceId(String instanceId) |
Unique identifier for an instance to retrieve.
|
DescribeInstancesRequest.Builder |
limit(Integer limit) |
Maximum number of results to return.
|
DescribeInstancesRequest.Builder |
nextToken(String nextToken) |
Token that indicates the start of the next sequential page of results.
|
copy
apply, build
DescribeInstancesRequest.Builder fleetId(String fleetId)
Unique identifier for a fleet to retrieve instance information for.
fleetId
- Unique identifier for a fleet to retrieve instance information for.DescribeInstancesRequest.Builder instanceId(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.DescribeInstancesRequest.Builder limit(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.DescribeInstancesRequest.Builder nextToken(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 specify the start 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 specify the start of the result set, do not specify a value.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.