Interface DeleteFleetErrorItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeleteFleetErrorItem.Builder,,DeleteFleetErrorItem> SdkBuilder<DeleteFleetErrorItem.Builder,,DeleteFleetErrorItem> SdkPojo
- Enclosing class:
DeleteFleetErrorItem
@Mutable
@NotThreadSafe
public static interface DeleteFleetErrorItem.Builder
extends SdkPojo, CopyableBuilder<DeleteFleetErrorItem.Builder,DeleteFleetErrorItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteFleetErrorItem.Buildererror(Consumer<DeleteFleetError.Builder> error) The error.error(DeleteFleetError error) The error.The ID of the EC2 Fleet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
error
The error.
- Parameters:
error- The error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The error.
This is a convenience method that creates an instance of theDeleteFleetError.Builderavoiding the need to create one manually viaDeleteFleetError.builder().When the
Consumercompletes,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:
-
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.
-