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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFleetResponse.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. Supported only for fleets of type
instant.
errors - Information about the instances that could not be launched by the fleet. Supported only for fleets of
type instant.CreateFleetResponse.Builder errors(CreateFleetError... errors)
Information about the instances that could not be launched by the fleet. Supported only for fleets of type
instant.
errors - Information about the instances that could not be launched by the fleet. Supported only for fleets of
type instant.CreateFleetResponse.Builder errors(Consumer<CreateFleetError.Builder>... errors)
Information about the instances that could not be launched by the fleet. Supported only for fleets of type
instant.
CreateFleetError.Builder avoiding the need to create one
manually via CreateFleetError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #errors(List.
errors - a consumer that will call methods on
CreateFleetError.Builder#errors(java.util.Collection) CreateFleetResponse.Builder instances(Collection<CreateFleetInstance> instances)
Information about the instances that were launched by the fleet. Supported only for fleets of type
instant.
instances - Information about the instances that were launched by the fleet. Supported only for fleets of type
instant.CreateFleetResponse.Builder instances(CreateFleetInstance... instances)
Information about the instances that were launched by the fleet. Supported only for fleets of type
instant.
instances - Information about the instances that were launched by the fleet. Supported only for fleets of type
instant.CreateFleetResponse.Builder instances(Consumer<CreateFleetInstance.Builder>... instances)
Information about the instances that were launched by the fleet. Supported only for fleets of type
instant.
CreateFleetInstance.Builder avoiding the need to create one
manually via CreateFleetInstance.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #instances(List.
instances - a consumer that will call methods on
CreateFleetInstance.Builder#instances(java.util.Collection) Copyright © 2023. All rights reserved.