public static interface DescribeFleetInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeFleetInstancesResponse.Builder,DescribeFleetInstancesResponse>
Modifier and Type | Method and Description |
---|---|
DescribeFleetInstancesResponse.Builder |
activeInstances(ActiveInstance... activeInstances)
The running instances.
|
DescribeFleetInstancesResponse.Builder |
activeInstances(Collection<ActiveInstance> activeInstances)
The running instances.
|
DescribeFleetInstancesResponse.Builder |
activeInstances(Consumer<ActiveInstance.Builder>... activeInstances)
The running instances.
|
DescribeFleetInstancesResponse.Builder |
fleetId(String fleetId)
The ID of the EC2 Fleet.
|
DescribeFleetInstancesResponse.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeFleetInstancesResponse.Builder activeInstances(Collection<ActiveInstance> activeInstances)
The running instances. This list is refreshed periodically and might be out of date.
activeInstances
- The running instances. This list is refreshed periodically and might be out of date.DescribeFleetInstancesResponse.Builder activeInstances(ActiveInstance... activeInstances)
The running instances. This list is refreshed periodically and might be out of date.
activeInstances
- The running instances. This list is refreshed periodically and might be out of date.DescribeFleetInstancesResponse.Builder activeInstances(Consumer<ActiveInstance.Builder>... activeInstances)
The running instances. This list is refreshed periodically and might be out of date.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #activeInstances(List)
.activeInstances
- a consumer that will call methods on List.Builder
#activeInstances(List)
DescribeFleetInstancesResponse.Builder nextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.DescribeFleetInstancesResponse.Builder fleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.Copyright © 2020. All rights reserved.