Interface LaunchTemplateInstanceMarketOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>,SdkBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>,SdkPojo
- Enclosing class:
- LaunchTemplateInstanceMarketOptions
@Mutable @NotThreadSafe public static interface LaunchTemplateInstanceMarketOptions.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateInstanceMarketOptions.Builder,LaunchTemplateInstanceMarketOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LaunchTemplateInstanceMarketOptions.BuildermarketType(String marketType)The market type.LaunchTemplateInstanceMarketOptions.BuildermarketType(MarketType marketType)The market type.default LaunchTemplateInstanceMarketOptions.BuilderspotOptions(Consumer<LaunchTemplateSpotMarketOptions.Builder> spotOptions)The options for Spot Instances.LaunchTemplateInstanceMarketOptions.BuilderspotOptions(LaunchTemplateSpotMarketOptions spotOptions)The options for Spot Instances.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
marketType
LaunchTemplateInstanceMarketOptions.Builder marketType(String marketType)
The market type.
- Parameters:
marketType- The market type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MarketType,MarketType
-
marketType
LaunchTemplateInstanceMarketOptions.Builder marketType(MarketType marketType)
The market type.
- Parameters:
marketType- The market type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MarketType,MarketType
-
spotOptions
LaunchTemplateInstanceMarketOptions.Builder spotOptions(LaunchTemplateSpotMarketOptions spotOptions)
The options for Spot Instances.
- Parameters:
spotOptions- The options for Spot Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotOptions
default LaunchTemplateInstanceMarketOptions.Builder spotOptions(Consumer<LaunchTemplateSpotMarketOptions.Builder> spotOptions)
The options for Spot Instances.
This is a convenience method that creates an instance of theLaunchTemplateSpotMarketOptions.Builderavoiding the need to create one manually viaLaunchTemplateSpotMarketOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospotOptions(LaunchTemplateSpotMarketOptions).- Parameters:
spotOptions- a consumer that will call methods onLaunchTemplateSpotMarketOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spotOptions(LaunchTemplateSpotMarketOptions)
-
-