public static interface AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder,AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder |
marketType(String marketType)
The market type.
|
AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder |
spotOptions(AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails spotOptions)
The options for Spot Instances.
|
default AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder |
spotOptions(Consumer<AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder> spotOptions)
The options for Spot Instances.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder marketType(String marketType)
The market type.
marketType - The market type.AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder spotOptions(AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails spotOptions)
The options for Spot Instances.
spotOptions - The options for Spot Instances.default AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.Builder spotOptions(Consumer<AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder> spotOptions)
The options for Spot Instances.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder avoiding the need to create
one manually via AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to
spotOptions(AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails).
spotOptions - a consumer that will call methods on
AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.BuilderspotOptions(AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails)Copyright © 2023. All rights reserved.