Struct aws_sdk_ec2::model::InstanceStatusEvent
source · #[non_exhaustive]pub struct InstanceStatusEvent { /* private fields */ }
Expand description
Describes a scheduled event for an instance.
Implementations§
source§impl InstanceStatusEvent
impl InstanceStatusEvent
sourcepub fn instance_event_id(&self) -> Option<&str>
pub fn instance_event_id(&self) -> Option<&str>
The ID of the event.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
sourcepub fn not_before(&self) -> Option<&DateTime>
pub fn not_before(&self) -> Option<&DateTime>
The earliest scheduled start time for the event.
sourcepub fn not_before_deadline(&self) -> Option<&DateTime>
pub fn not_before_deadline(&self) -> Option<&DateTime>
The deadline for starting the event.
source§impl InstanceStatusEvent
impl InstanceStatusEvent
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceStatusEvent
.
Trait Implementations§
source§impl Clone for InstanceStatusEvent
impl Clone for InstanceStatusEvent
source§fn clone(&self) -> InstanceStatusEvent
fn clone(&self) -> InstanceStatusEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstanceStatusEvent
impl Debug for InstanceStatusEvent
source§impl PartialEq<InstanceStatusEvent> for InstanceStatusEvent
impl PartialEq<InstanceStatusEvent> for InstanceStatusEvent
source§fn eq(&self, other: &InstanceStatusEvent) -> bool
fn eq(&self, other: &InstanceStatusEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.