Interface LaunchTemplateInstanceMarketOptionsRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateInstanceMarketOptionsRequest.Builder,LaunchTemplateInstanceMarketOptionsRequest>,SdkBuilder<LaunchTemplateInstanceMarketOptionsRequest.Builder,LaunchTemplateInstanceMarketOptionsRequest>,SdkPojo
- Enclosing class:
- LaunchTemplateInstanceMarketOptionsRequest
public static interface LaunchTemplateInstanceMarketOptionsRequest.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateInstanceMarketOptionsRequest.Builder,LaunchTemplateInstanceMarketOptionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LaunchTemplateInstanceMarketOptionsRequest.BuildermarketType(String marketType)The market type.LaunchTemplateInstanceMarketOptionsRequest.BuildermarketType(MarketType marketType)The market type.default LaunchTemplateInstanceMarketOptionsRequest.BuilderspotOptions(Consumer<LaunchTemplateSpotMarketOptionsRequest.Builder> spotOptions)The options for Spot Instances.LaunchTemplateInstanceMarketOptionsRequest.BuilderspotOptions(LaunchTemplateSpotMarketOptionsRequest 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
LaunchTemplateInstanceMarketOptionsRequest.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
LaunchTemplateInstanceMarketOptionsRequest.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
LaunchTemplateInstanceMarketOptionsRequest.Builder spotOptions(LaunchTemplateSpotMarketOptionsRequest 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 LaunchTemplateInstanceMarketOptionsRequest.Builder spotOptions(Consumer<LaunchTemplateSpotMarketOptionsRequest.Builder> spotOptions)
The options for Spot Instances.
This is a convenience method that creates an instance of theLaunchTemplateSpotMarketOptionsRequest.Builderavoiding the need to create one manually viaLaunchTemplateSpotMarketOptionsRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospotOptions(LaunchTemplateSpotMarketOptionsRequest).- Parameters:
spotOptions- a consumer that will call methods onLaunchTemplateSpotMarketOptionsRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spotOptions(LaunchTemplateSpotMarketOptionsRequest)
-
-