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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.BuilderblockDurationMinutes(Integer blockDurationMinutes)Deprecated.AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.BuilderinstanceInterruptionBehavior(String instanceInterruptionBehavior)The behavior when a Spot Instance is interrupted.AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.BuildermaxPrice(String maxPrice)The maximum hourly price you're willing to pay for the Spot Instances.AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.BuilderspotInstanceType(String spotInstanceType)The Spot Instance request type.AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.BuildervalidUntil(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails.Builder maxPrice(String 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.
-
-