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 for InstanceStatusEventBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for InstanceStatusEventBuilder
Auto Trait Implementations§
impl Freeze for InstanceStatusEventBuilder
impl RefUnwindSafe for InstanceStatusEventBuilder
impl Send for InstanceStatusEventBuilder
impl Sync for InstanceStatusEventBuilder
impl Unpin for InstanceStatusEventBuilder
impl UnwindSafe for InstanceStatusEventBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more