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 to include in another request to get the next page of items.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeFleetInstancesResponse.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 method that creates an instance of theActiveInstance.Builder avoiding the need to create one
manually via ActiveInstance.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #activeInstances(List.
activeInstances - a consumer that will call methods on
ActiveInstance.Builder#activeInstances(java.util.Collection) DescribeFleetInstancesResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null when
there are no more items to return.
nextToken - The token to include in another request to get the next page of items. This value is null
when there are no more items to return.DescribeFleetInstancesResponse.Builder fleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId - The ID of the EC2 Fleet.Copyright © 2023. All rights reserved.