public static interface CreateFleetResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateFleetResponse.Builder,CreateFleetResponse>
Modifier and Type | Method and Description |
---|---|
CreateFleetResponse.Builder |
errors(Collection<CreateFleetError> errors)
Information about the instances that could not be launched by the fleet.
|
CreateFleetResponse.Builder |
errors(Consumer<CreateFleetError.Builder>... errors)
Information about the instances that could not be launched by the fleet.
|
CreateFleetResponse.Builder |
errors(CreateFleetError... errors)
Information about the instances that could not be launched by the fleet.
|
CreateFleetResponse.Builder |
fleetId(String fleetId)
The ID of the EC2 Fleet.
|
CreateFleetResponse.Builder |
instances(Collection<CreateFleetInstance> instances)
Information about the instances that were launched by the fleet.
|
CreateFleetResponse.Builder |
instances(Consumer<CreateFleetInstance.Builder>... instances)
Information about the instances that were launched by the fleet.
|
CreateFleetResponse.Builder |
instances(CreateFleetInstance... instances)
Information about the instances that were launched by the fleet.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateFleetResponse.Builder fleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.CreateFleetResponse.Builder errors(Collection<CreateFleetError> errors)
Information about the instances that could not be launched by the fleet. Valid only when Type is set
to instant
.
errors
- Information about the instances that could not be launched by the fleet. Valid only when Type
is set to instant
.CreateFleetResponse.Builder errors(CreateFleetError... errors)
Information about the instances that could not be launched by the fleet. Valid only when Type is set
to instant
.
errors
- Information about the instances that could not be launched by the fleet. Valid only when Type
is set to instant
.CreateFleetResponse.Builder errors(Consumer<CreateFleetError.Builder>... errors)
Information about the instances that could not be launched by the fleet. Valid only when Type is set
to instant
.
List.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 #errors(List)
.errors
- a consumer that will call methods on List.Builder
#errors(List)
CreateFleetResponse.Builder instances(Collection<CreateFleetInstance> instances)
Information about the instances that were launched by the fleet. Valid only when Type is set to
instant
.
instances
- Information about the instances that were launched by the fleet. Valid only when Type is set to
instant
.CreateFleetResponse.Builder instances(CreateFleetInstance... instances)
Information about the instances that were launched by the fleet. Valid only when Type is set to
instant
.
instances
- Information about the instances that were launched by the fleet. Valid only when Type is set to
instant
.CreateFleetResponse.Builder instances(Consumer<CreateFleetInstance.Builder>... instances)
Information about the instances that were launched by the fleet. Valid only when Type is set to
instant
.
List.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 #instances(List)
.instances
- a consumer that will call methods on List.Builder
#instances(List)
Copyright © 2020. All rights reserved.