public static interface CreateFleetError.Builder extends SdkPojo, CopyableBuilder<CreateFleetError.Builder,CreateFleetError>
Modifier and Type | Method and Description |
---|---|
CreateFleetError.Builder |
errorCode(String errorCode)
The error code that indicates why the instance could not be launched.
|
CreateFleetError.Builder |
errorMessage(String errorMessage)
The error message that describes why the instance could not be launched.
|
default CreateFleetError.Builder |
launchTemplateAndOverrides(Consumer<LaunchTemplateAndOverridesResponse.Builder> launchTemplateAndOverrides)
The launch templates and overrides that were used for launching the instances.
|
CreateFleetError.Builder |
launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse launchTemplateAndOverrides)
The launch templates and overrides that were used for launching the instances.
|
CreateFleetError.Builder |
lifecycle(InstanceLifecycle lifecycle)
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
|
CreateFleetError.Builder |
lifecycle(String lifecycle)
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateFleetError.Builder launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse launchTemplateAndOverrides)
The launch templates and overrides that were used for launching the instances. Any parameters that you specify in the Overrides override the same parameters in the launch template.
launchTemplateAndOverrides
- The launch templates and overrides that were used for launching the instances. Any parameters that you
specify in the Overrides override the same parameters in the launch template.default CreateFleetError.Builder launchTemplateAndOverrides(Consumer<LaunchTemplateAndOverridesResponse.Builder> launchTemplateAndOverrides)
The launch templates and overrides that were used for launching the instances. Any parameters that you specify in the Overrides override the same parameters in the launch template.
This is a convenience that creates an instance of theLaunchTemplateAndOverridesResponse.Builder
avoiding the need to create one manually via LaunchTemplateAndOverridesResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse)
.launchTemplateAndOverrides
- a consumer that will call methods on LaunchTemplateAndOverridesResponse.Builder
launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse)
CreateFleetError.Builder lifecycle(String lifecycle)
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
lifecycle
- Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.InstanceLifecycle
,
InstanceLifecycle
CreateFleetError.Builder lifecycle(InstanceLifecycle lifecycle)
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
lifecycle
- Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.InstanceLifecycle
,
InstanceLifecycle
CreateFleetError.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.
errorCode
- The error code that indicates why the instance could not be launched. For more information about error
codes, see Error
Codes.CreateFleetError.Builder errorMessage(String errorMessage)
The error message that describes why the instance could not be launched. For more information about error messages, see ee Error Codes.
errorMessage
- The error message that describes why the instance could not be launched. For more information about
error messages, see ee Error
Codes.Copyright © 2019. All rights reserved.