@Stability(value=Stable) public static final class CfnLaunchTemplate.InstanceMarketOptionsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.InstanceMarketOptionsProperty>
CfnLaunchTemplate.InstanceMarketOptionsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLaunchTemplate.InstanceMarketOptionsProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.InstanceMarketOptionsProperty.Builder |
marketType(String marketType)
Sets the value of
CfnLaunchTemplate.InstanceMarketOptionsProperty.getMarketType() |
CfnLaunchTemplate.InstanceMarketOptionsProperty.Builder |
spotOptions(CfnLaunchTemplate.SpotOptionsProperty spotOptions)
Sets the value of
CfnLaunchTemplate.InstanceMarketOptionsProperty.getSpotOptions() |
CfnLaunchTemplate.InstanceMarketOptionsProperty.Builder |
spotOptions(IResolvable spotOptions)
Sets the value of
CfnLaunchTemplate.InstanceMarketOptionsProperty.getSpotOptions() |
@Stability(value=Stable) public CfnLaunchTemplate.InstanceMarketOptionsProperty.Builder marketType(String marketType)
CfnLaunchTemplate.InstanceMarketOptionsProperty.getMarketType()
marketType
- `CfnLaunchTemplate.InstanceMarketOptionsProperty.MarketType`.this
@Stability(value=Stable) public CfnLaunchTemplate.InstanceMarketOptionsProperty.Builder spotOptions(CfnLaunchTemplate.SpotOptionsProperty spotOptions)
CfnLaunchTemplate.InstanceMarketOptionsProperty.getSpotOptions()
spotOptions
- `CfnLaunchTemplate.InstanceMarketOptionsProperty.SpotOptions`.this
@Stability(value=Stable) public CfnLaunchTemplate.InstanceMarketOptionsProperty.Builder spotOptions(IResolvable spotOptions)
CfnLaunchTemplate.InstanceMarketOptionsProperty.getSpotOptions()
spotOptions
- `CfnLaunchTemplate.InstanceMarketOptionsProperty.SpotOptions`.this
@Stability(value=Stable) public CfnLaunchTemplate.InstanceMarketOptionsProperty build()
build
in interface software.amazon.jsii.Builder<CfnLaunchTemplate.InstanceMarketOptionsProperty>
CfnLaunchTemplate.InstanceMarketOptionsProperty
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.