Struct aws_sdk_ec2::types::builders::InstanceStatusEventBuilder
source · #[non_exhaustive]pub struct InstanceStatusEventBuilder { /* private fields */ }
Expand description
A builder for InstanceStatusEvent
.
Implementations§
source§impl InstanceStatusEventBuilder
impl InstanceStatusEventBuilder
sourcepub fn instance_event_id(self, input: impl Into<String>) -> Self
pub fn instance_event_id(self, input: impl Into<String>) -> Self
The ID of the event.
sourcepub fn set_instance_event_id(self, input: Option<String>) -> Self
pub fn set_instance_event_id(self, input: Option<String>) -> Self
The ID of the event.
sourcepub fn get_instance_event_id(&self) -> &Option<String>
pub fn get_instance_event_id(&self) -> &Option<String>
The ID of the event.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
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 set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 set_not_after(self, input: Option<DateTime>) -> Self
pub fn set_not_after(self, input: Option<DateTime>) -> Self
The latest scheduled end time for the event.
sourcepub fn get_not_after(&self) -> &Option<DateTime>
pub fn get_not_after(&self) -> &Option<DateTime>
The latest scheduled end time for the event.
sourcepub fn not_before(self, input: DateTime) -> Self
pub fn not_before(self, input: DateTime) -> Self
The earliest scheduled start time for the event.
sourcepub fn set_not_before(self, input: Option<DateTime>) -> Self
pub fn set_not_before(self, input: Option<DateTime>) -> Self
The earliest scheduled start time for the event.
sourcepub fn get_not_before(&self) -> &Option<DateTime>
pub fn get_not_before(&self) -> &Option<DateTime>
The earliest scheduled start time for the event.
sourcepub fn not_before_deadline(self, input: DateTime) -> Self
pub fn not_before_deadline(self, input: DateTime) -> Self
The deadline for starting the event.
sourcepub fn set_not_before_deadline(self, input: Option<DateTime>) -> Self
pub fn set_not_before_deadline(self, input: Option<DateTime>) -> Self
The deadline for starting the event.
sourcepub fn get_not_before_deadline(&self) -> &Option<DateTime>
pub fn get_not_before_deadline(&self) -> &Option<DateTime>
The deadline for starting the event.
sourcepub fn build(self) -> InstanceStatusEvent
pub fn build(self) -> InstanceStatusEvent
Consumes the builder and constructs a InstanceStatusEvent
.
Trait Implementations§
source§impl Clone for InstanceStatusEventBuilder
impl Clone for InstanceStatusEventBuilder
source§fn clone(&self) -> InstanceStatusEventBuilder
fn clone(&self) -> InstanceStatusEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceStatusEventBuilder
impl Debug for InstanceStatusEventBuilder
source§impl Default for InstanceStatusEventBuilder
impl Default for InstanceStatusEventBuilder
source§fn default() -> InstanceStatusEventBuilder
fn default() -> InstanceStatusEventBuilder
source§impl PartialEq<InstanceStatusEventBuilder> for InstanceStatusEventBuilder
impl PartialEq<InstanceStatusEventBuilder> for InstanceStatusEventBuilder
source§fn eq(&self, other: &InstanceStatusEventBuilder) -> bool
fn eq(&self, other: &InstanceStatusEventBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.