Struct aws_sdk_ec2::model::spot_instance_request::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for SpotInstanceRequest
Implementations
Deprecated.
Deprecated.
The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.
The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.
Deprecated.
Deprecated.
The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
The fault codes for the Spot Instance request, if any.
The fault codes for the Spot Instance request, if any.
The instance ID, if an instance has been launched to fulfill the Spot Instance request.
The instance ID, if an instance has been launched to fulfill the Spot Instance request.
The instance launch group. Launch groups are Spot Instances that launch together and terminate together.
The instance launch group. Launch groups are Spot Instances that launch together and terminate together.
Additional information for launching instances.
Additional information for launching instances.
The Availability Zone in which the request is launched.
The Availability Zone in which the request is launched.
The product description associated with the Spot Instance.
The product description associated with the Spot Instance.
The ID of the Spot Instance request.
The ID of the Spot Instance request.
The maximum price per hour that you are willing to pay for a Spot Instance.
The maximum price per hour that you are willing to pay for a Spot Instance.
The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.
The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.
The status code and status message describing the Spot Instance request.
The status code and status message describing the Spot Instance request.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the resource.
Any tags assigned to the resource.
The Spot Instance request type.
The Spot Instance request type.
The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.
The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.
The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
-
For a persistent request, the request remains active until the
validUntil
date and time is reached. Otherwise, the request remains active until you cancel it. -
For a one-time request, the request remains active until all instances launch, the request is canceled, or the
validUntil
date and time is reached. By default, the request is valid for 7 days from the date the request was created.
The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
-
For a persistent request, the request remains active until the
validUntil
date and time is reached. Otherwise, the request remains active until you cancel it. -
For a one-time request, the request remains active until all instances launch, the request is canceled, or the
validUntil
date and time is reached. By default, the request is valid for 7 days from the date the request was created.
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 SpotInstanceRequest
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