Struct aws_sdk_ec2::model::launch_template_spot_market_options::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for LaunchTemplateSpotMarketOptions
Implementations
The maximum hourly price you're willing to pay for the Spot Instances.
The maximum hourly price you're willing to pay for the Spot Instances.
The Spot Instance request type.
The Spot Instance request type.
The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.
The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.
The behavior when a Spot Instance is interrupted.
pub fn set_instance_interruption_behavior(
self,
input: Option<InstanceInterruptionBehavior>
) -> Self
pub fn set_instance_interruption_behavior(
self,
input: Option<InstanceInterruptionBehavior>
) -> Self
The behavior when a Spot Instance is interrupted.
Consumes the builder and constructs a LaunchTemplateSpotMarketOptions
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more