public static interface LaunchTemplateInstanceMarketOptionsRequest.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateInstanceMarketOptionsRequest.Builder,LaunchTemplateInstanceMarketOptionsRequest>
Modifier and Type | Method and Description |
---|---|
LaunchTemplateInstanceMarketOptionsRequest.Builder |
marketType(MarketType marketType)
The market type.
|
LaunchTemplateInstanceMarketOptionsRequest.Builder |
marketType(String marketType)
The market type.
|
default LaunchTemplateInstanceMarketOptionsRequest.Builder |
spotOptions(Consumer<LaunchTemplateSpotMarketOptionsRequest.Builder> spotOptions)
The options for Spot Instances.
|
LaunchTemplateInstanceMarketOptionsRequest.Builder |
spotOptions(LaunchTemplateSpotMarketOptionsRequest spotOptions)
The options for Spot Instances.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
LaunchTemplateInstanceMarketOptionsRequest.Builder marketType(String marketType)
The market type.
marketType
- The market type.MarketType
,
MarketType
LaunchTemplateInstanceMarketOptionsRequest.Builder marketType(MarketType marketType)
The market type.
marketType
- The market type.MarketType
,
MarketType
LaunchTemplateInstanceMarketOptionsRequest.Builder spotOptions(LaunchTemplateSpotMarketOptionsRequest spotOptions)
The options for Spot Instances.
spotOptions
- The options for Spot Instances.default LaunchTemplateInstanceMarketOptionsRequest.Builder spotOptions(Consumer<LaunchTemplateSpotMarketOptionsRequest.Builder> spotOptions)
The options for Spot Instances.
This is a convenience that creates an instance of theLaunchTemplateSpotMarketOptionsRequest.Builder
avoiding the need to create one manually via LaunchTemplateSpotMarketOptionsRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to spotOptions(LaunchTemplateSpotMarketOptionsRequest)
.spotOptions
- a consumer that will call methods on LaunchTemplateSpotMarketOptionsRequest.Builder
spotOptions(LaunchTemplateSpotMarketOptionsRequest)
Copyright © 2020. All rights reserved.