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