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.
|
copyapplyMutation, buildLaunchTemplateInstanceMarketOptionsRequest.Builder marketType(String marketType)
The market type.
marketType - The market type.MarketType,
MarketTypeLaunchTemplateInstanceMarketOptionsRequest.Builder marketType(MarketType marketType)
The market type.
marketType - The market type.MarketType,
MarketTypeLaunchTemplateInstanceMarketOptionsRequest.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.BuilderspotOptions(LaunchTemplateSpotMarketOptionsRequest)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.