Interface AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder,
,AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails> SdkBuilder<AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder,
,AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails> SdkPojo
- Enclosing class:
AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails
public static interface AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder,AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails>
-
Method Summary
Modifier and TypeMethodDescriptionblockDurationMinutes
(Integer blockDurationMinutes) Deprecated.instanceInterruptionBehavior
(String instanceInterruptionBehavior) The behavior when a Spot Instance is interrupted.The maximum hourly price you're willing to pay for the Spot Instances.spotInstanceType
(String spotInstanceType) The Spot Instance request type.validUntil
(String validUntil) The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ), for persistent requests.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, sdkFields
-
Method Details
-
blockDurationMinutes
AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder blockDurationMinutes(Integer blockDurationMinutes) Deprecated.
- Parameters:
blockDurationMinutes
- Deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInterruptionBehavior
AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder instanceInterruptionBehavior(String instanceInterruptionBehavior) The behavior when a Spot Instance is interrupted.
- Parameters:
instanceInterruptionBehavior
- The behavior when a Spot Instance is interrupted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxPrice
The maximum hourly price you're willing to pay for the Spot Instances.
- Parameters:
maxPrice
- The maximum hourly price you're willing to pay for the Spot Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotInstanceType
AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder spotInstanceType(String spotInstanceType) The Spot Instance request type.
- Parameters:
spotInstanceType
- The Spot Instance request type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validUntil
AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder validUntil(String validUntil) The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ), for persistent requests.
- Parameters:
validUntil
- The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ), for persistent requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-