Interface SpotMarketOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SpotMarketOptions.Builder,
,SpotMarketOptions> SdkBuilder<SpotMarketOptions.Builder,
,SpotMarketOptions> SdkPojo
- Enclosing class:
SpotMarketOptions
@Mutable
@NotThreadSafe
public static interface SpotMarketOptions.Builder
extends SdkPojo, CopyableBuilder<SpotMarketOptions.Builder,SpotMarketOptions>
-
Method Summary
Modifier and TypeMethodDescriptionblockDurationMinutes
(Integer blockDurationMinutes) Duration of spot instance block reservation.instanceInterruptionBehavior
(String instanceInterruptionBehavior) Specifies behavior when spot instance is interrupted.instanceInterruptionBehavior
(InstanceInterruptionBehaviorEnum instanceInterruptionBehavior) Specifies behavior when spot instance is interrupted.Maximum hourly price for spot instance.spotInstanceType
(String spotInstanceType) Defines the type of spot instance request.spotInstanceType
(SpotInstanceTypeEnum spotInstanceType) Defines the type of spot instance request.validUntilUtc
(Instant validUntilUtc) Timestamp until which spot instance request is valid.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 Details
-
blockDurationMinutes
Duration of spot instance block reservation.
- Parameters:
blockDurationMinutes
- Duration of spot instance block reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInterruptionBehavior
Specifies behavior when spot instance is interrupted.
- Parameters:
instanceInterruptionBehavior
- Specifies behavior when spot instance is interrupted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceInterruptionBehavior
SpotMarketOptions.Builder instanceInterruptionBehavior(InstanceInterruptionBehaviorEnum instanceInterruptionBehavior) Specifies behavior when spot instance is interrupted.
- Parameters:
instanceInterruptionBehavior
- Specifies behavior when spot instance is interrupted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxPrice
Maximum hourly price for spot instance.
- Parameters:
maxPrice
- Maximum hourly price for spot instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotInstanceType
Defines the type of spot instance request.
- Parameters:
spotInstanceType
- Defines the type of spot instance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spotInstanceType
Defines the type of spot instance request.
- Parameters:
spotInstanceType
- Defines the type of spot instance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validUntilUtc
Timestamp until which spot instance request is valid.
- Parameters:
validUntilUtc
- Timestamp until which spot instance request is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-