Interface DescribeFleetError.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DescribeFleetError.Builder,DescribeFleetError>
,SdkBuilder<DescribeFleetError.Builder,DescribeFleetError>
,SdkPojo
- Enclosing class:
- DescribeFleetError
public static interface DescribeFleetError.Builder extends SdkPojo, CopyableBuilder<DescribeFleetError.Builder,DescribeFleetError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeFleetError.Builder
errorCode(String errorCode)
The error code that indicates why the instance could not be launched.DescribeFleetError.Builder
errorMessage(String errorMessage)
The error message that describes why the instance could not be launched.default DescribeFleetError.Builder
launchTemplateAndOverrides(Consumer<LaunchTemplateAndOverridesResponse.Builder> launchTemplateAndOverrides)
The launch templates and overrides that were used for launching the instances.DescribeFleetError.Builder
launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse launchTemplateAndOverrides)
The launch templates and overrides that were used for launching the instances.DescribeFleetError.Builder
lifecycle(String lifecycle)
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.DescribeFleetError.Builder
lifecycle(InstanceLifecycle lifecycle)
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.-
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
-
launchTemplateAndOverrides
DescribeFleetError.Builder launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse launchTemplateAndOverrides)
The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
- Parameters:
launchTemplateAndOverrides
- The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateAndOverrides
default DescribeFleetError.Builder launchTemplateAndOverrides(Consumer<LaunchTemplateAndOverridesResponse.Builder> launchTemplateAndOverrides)
The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
This is a convenience method that creates an instance of theLaunchTemplateAndOverridesResponse.Builder
avoiding the need to create one manually viaLaunchTemplateAndOverridesResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunchTemplateAndOverrides(LaunchTemplateAndOverridesResponse)
.- Parameters:
launchTemplateAndOverrides
- a consumer that will call methods onLaunchTemplateAndOverridesResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse)
-
lifecycle
DescribeFleetError.Builder lifecycle(String lifecycle)
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
- Parameters:
lifecycle
- Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceLifecycle
,InstanceLifecycle
-
lifecycle
DescribeFleetError.Builder lifecycle(InstanceLifecycle lifecycle)
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
- Parameters:
lifecycle
- Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceLifecycle
,InstanceLifecycle
-
errorCode
DescribeFleetError.Builder errorCode(String errorCode)
The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.
- Parameters:
errorCode
- The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
DescribeFleetError.Builder errorMessage(String errorMessage)
The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.
- Parameters:
errorMessage
- The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-