public static interface LaunchTemplateInstanceMarketOptions.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>
| Modifier and Type | Method and Description |
|---|---|
LaunchTemplateInstanceMarketOptions.Builder |
marketType(MarketType marketType)
The market type.
|
LaunchTemplateInstanceMarketOptions.Builder |
marketType(String marketType)
The market type.
|
default LaunchTemplateInstanceMarketOptions.Builder |
spotOptions(Consumer<LaunchTemplateSpotMarketOptions.Builder> spotOptions)
The options for Spot Instances.
|
LaunchTemplateInstanceMarketOptions.Builder |
spotOptions(LaunchTemplateSpotMarketOptions spotOptions)
The options for Spot Instances.
|
copyapplyMutation, buildLaunchTemplateInstanceMarketOptions.Builder marketType(String marketType)
The market type.
marketType - The market type.MarketType,
MarketTypeLaunchTemplateInstanceMarketOptions.Builder marketType(MarketType marketType)
The market type.
marketType - The market type.MarketType,
MarketTypeLaunchTemplateInstanceMarketOptions.Builder spotOptions(LaunchTemplateSpotMarketOptions spotOptions)
The options for Spot Instances.
spotOptions - The options for Spot Instances.default LaunchTemplateInstanceMarketOptions.Builder spotOptions(Consumer<LaunchTemplateSpotMarketOptions.Builder> spotOptions)
The options for Spot Instances.
This is a convenience that creates an instance of theLaunchTemplateSpotMarketOptions.Builder
avoiding the need to create one manually via LaunchTemplateSpotMarketOptions.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to spotOptions(LaunchTemplateSpotMarketOptions).spotOptions - a consumer that will call methods on LaunchTemplateSpotMarketOptions.BuilderspotOptions(LaunchTemplateSpotMarketOptions)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.