public static interface DescribeSpotFleetInstancesResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DescribeSpotFleetInstancesResponse.Builder,DescribeSpotFleetInstancesResponse>
Modifier and Type | Method and Description |
---|---|
DescribeSpotFleetInstancesResponse.Builder |
activeInstances(ActiveInstance... activeInstances)
The running instances.
|
DescribeSpotFleetInstancesResponse.Builder |
activeInstances(Collection<ActiveInstance> activeInstances)
The running instances.
|
DescribeSpotFleetInstancesResponse.Builder |
activeInstances(Consumer<ActiveInstance.Builder>... activeInstances)
The running instances.
|
DescribeSpotFleetInstancesResponse.Builder |
nextToken(String nextToken)
The token required to retrieve the next set of results.
|
DescribeSpotFleetInstancesResponse.Builder |
spotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeSpotFleetInstancesResponse.Builder activeInstances(Collection<ActiveInstance> activeInstances)
The running instances. Note that this list is refreshed periodically and might be out of date.
activeInstances
- The running instances. Note that this list is refreshed periodically and might be out of date.DescribeSpotFleetInstancesResponse.Builder activeInstances(ActiveInstance... activeInstances)
The running instances. Note that this list is refreshed periodically and might be out of date.
activeInstances
- The running instances. Note that this list is refreshed periodically and might be out of date.DescribeSpotFleetInstancesResponse.Builder activeInstances(Consumer<ActiveInstance.Builder>... activeInstances)
The running instances. Note that 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)
DescribeSpotFleetInstancesResponse.Builder nextToken(String nextToken)
The token required to retrieve the next set of results. This value is null
when there are no
more results to return.
nextToken
- The token required to retrieve the next set of results. This value is null
when there are
no more results to return.DescribeSpotFleetInstancesResponse.Builder spotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.