Struct aws_sdk_ec2::model::ScheduledInstance [−][src]
#[non_exhaustive]pub struct ScheduledInstance {Show 15 fields
pub availability_zone: Option<String>,
pub create_date: Option<DateTime>,
pub hourly_price: Option<String>,
pub instance_count: Option<i32>,
pub instance_type: Option<String>,
pub network_platform: Option<String>,
pub next_slot_start_time: Option<DateTime>,
pub platform: Option<String>,
pub previous_slot_end_time: Option<DateTime>,
pub recurrence: Option<ScheduledInstanceRecurrence>,
pub scheduled_instance_id: Option<String>,
pub slot_duration_in_hours: Option<i32>,
pub term_end_date: Option<DateTime>,
pub term_start_date: Option<DateTime>,
pub total_scheduled_instance_hours: Option<i32>,
}
Expand description
Describes a Scheduled Instance.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.availability_zone: Option<String>
The Availability Zone.
create_date: Option<DateTime>
The date when the Scheduled Instance was purchased.
hourly_price: Option<String>
The hourly price for a single instance.
instance_count: Option<i32>
The number of instances.
instance_type: Option<String>
The instance type.
network_platform: Option<String>
The network platform (EC2-Classic
or EC2-VPC
).
next_slot_start_time: Option<DateTime>
The time for the next schedule to start.
platform: Option<String>
The platform (Linux/UNIX
or Windows
).
previous_slot_end_time: Option<DateTime>
The time that the previous schedule ended or will end.
recurrence: Option<ScheduledInstanceRecurrence>
The schedule recurrence.
scheduled_instance_id: Option<String>
The Scheduled Instance ID.
slot_duration_in_hours: Option<i32>
The number of hours in the schedule.
term_end_date: Option<DateTime>
The end date for the Scheduled Instance.
term_start_date: Option<DateTime>
The start date for the Scheduled Instance.
total_scheduled_instance_hours: Option<i32>
The total number of hours for a single instance for the entire term.
Implementations
The Availability Zone.
The date when the Scheduled Instance was purchased.
The hourly price for a single instance.
The number of instances.
The instance type.
The network platform (EC2-Classic
or EC2-VPC
).
The time for the next schedule to start.
The time that the previous schedule ended or will end.
The schedule recurrence.
The Scheduled Instance ID.
The number of hours in the schedule.
The end date for the Scheduled Instance.
The start date for the Scheduled Instance.
The total number of hours for a single instance for the entire term.
Creates a new builder-style object to manufacture ScheduledInstance
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ScheduledInstance
impl Send for ScheduledInstance
impl Sync for ScheduledInstance
impl Unpin for ScheduledInstance
impl UnwindSafe for ScheduledInstance
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