Struct aws_sdk_ec2::model::ScheduledInstance
source · [−]#[non_exhaustive]pub struct ScheduledInstance { /* private fields */ }
Expand description
Describes a Scheduled Instance.
We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
Implementations
sourceimpl ScheduledInstance
impl ScheduledInstance
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The date when the Scheduled Instance was purchased.
sourcepub fn hourly_price(&self) -> Option<&str>
pub fn hourly_price(&self) -> Option<&str>
The hourly price for a single instance.
sourcepub fn instance_count(&self) -> Option<i32>
pub fn instance_count(&self) -> Option<i32>
The number of instances.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The instance type.
sourcepub fn network_platform(&self) -> Option<&str>
pub fn network_platform(&self) -> Option<&str>
The network platform (EC2-Classic
or EC2-VPC
).
sourcepub fn next_slot_start_time(&self) -> Option<&DateTime>
pub fn next_slot_start_time(&self) -> Option<&DateTime>
The time for the next schedule to start.
sourcepub fn previous_slot_end_time(&self) -> Option<&DateTime>
pub fn previous_slot_end_time(&self) -> Option<&DateTime>
The time that the previous schedule ended or will end.
sourcepub fn recurrence(&self) -> Option<&ScheduledInstanceRecurrence>
pub fn recurrence(&self) -> Option<&ScheduledInstanceRecurrence>
The schedule recurrence.
sourcepub fn scheduled_instance_id(&self) -> Option<&str>
pub fn scheduled_instance_id(&self) -> Option<&str>
The Scheduled Instance ID.
sourcepub fn slot_duration_in_hours(&self) -> Option<i32>
pub fn slot_duration_in_hours(&self) -> Option<i32>
The number of hours in the schedule.
sourcepub fn term_end_date(&self) -> Option<&DateTime>
pub fn term_end_date(&self) -> Option<&DateTime>
The end date for the Scheduled Instance.
sourcepub fn term_start_date(&self) -> Option<&DateTime>
pub fn term_start_date(&self) -> Option<&DateTime>
The start date for the Scheduled Instance.
sourcepub fn total_scheduled_instance_hours(&self) -> Option<i32>
pub fn total_scheduled_instance_hours(&self) -> Option<i32>
The total number of hours for a single instance for the entire term.
sourceimpl ScheduledInstance
impl ScheduledInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ScheduledInstance
.
Trait Implementations
sourceimpl Clone for ScheduledInstance
impl Clone for ScheduledInstance
sourcefn clone(&self) -> ScheduledInstance
fn clone(&self) -> ScheduledInstance
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more