Interface DeleteFleetErrorItem.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DeleteFleetErrorItem.Builder,DeleteFleetErrorItem>
,SdkBuilder<DeleteFleetErrorItem.Builder,DeleteFleetErrorItem>
,SdkPojo
- Enclosing class:
- DeleteFleetErrorItem
public static interface DeleteFleetErrorItem.Builder extends SdkPojo, CopyableBuilder<DeleteFleetErrorItem.Builder,DeleteFleetErrorItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeleteFleetErrorItem.Builder
error(Consumer<DeleteFleetError.Builder> error)
The error.DeleteFleetErrorItem.Builder
error(DeleteFleetError error)
The error.DeleteFleetErrorItem.Builder
fleetId(String fleetId)
The ID of the EC2 Fleet.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
error
DeleteFleetErrorItem.Builder error(DeleteFleetError error)
The error.
- Parameters:
error
- The error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default DeleteFleetErrorItem.Builder error(Consumer<DeleteFleetError.Builder> error)
The error.
This is a convenience method that creates an instance of theDeleteFleetError.Builder
avoiding the need to create one manually viaDeleteFleetError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(DeleteFleetError)
.- Parameters:
error
- a consumer that will call methods onDeleteFleetError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(DeleteFleetError)
-
fleetId
DeleteFleetErrorItem.Builder fleetId(String fleetId)
The ID of the EC2 Fleet.
- Parameters:
fleetId
- The ID of the EC2 Fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-