Struct aws_sdk_ec2::types::builders::VolumeStatusEventBuilder
source · #[non_exhaustive]pub struct VolumeStatusEventBuilder { /* private fields */ }
Expand description
A builder for VolumeStatusEvent
.
Implementations§
source§impl VolumeStatusEventBuilder
impl VolumeStatusEventBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the event.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the event.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the event.
sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
The ID of this event.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
The ID of this event.
sourcepub fn event_type(self, input: impl Into<String>) -> Self
pub fn event_type(self, input: impl Into<String>) -> Self
The type of this event.
sourcepub fn set_event_type(self, input: Option<String>) -> Self
pub fn set_event_type(self, input: Option<String>) -> Self
The type of this event.
sourcepub fn get_event_type(&self) -> &Option<String>
pub fn get_event_type(&self) -> &Option<String>
The type of this event.
sourcepub fn set_not_after(self, input: Option<DateTime>) -> Self
pub fn set_not_after(self, input: Option<DateTime>) -> Self
The latest end time of the event.
sourcepub fn get_not_after(&self) -> &Option<DateTime>
pub fn get_not_after(&self) -> &Option<DateTime>
The latest end time of the event.
sourcepub fn not_before(self, input: DateTime) -> Self
pub fn not_before(self, input: DateTime) -> Self
The earliest start time of the event.
sourcepub fn set_not_before(self, input: Option<DateTime>) -> Self
pub fn set_not_before(self, input: Option<DateTime>) -> Self
The earliest start time of the event.
sourcepub fn get_not_before(&self) -> &Option<DateTime>
pub fn get_not_before(&self) -> &Option<DateTime>
The earliest start time of the event.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance associated with the event.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance associated with the event.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance associated with the event.
sourcepub fn build(self) -> VolumeStatusEvent
pub fn build(self) -> VolumeStatusEvent
Consumes the builder and constructs a VolumeStatusEvent
.
Trait Implementations§
source§impl Clone for VolumeStatusEventBuilder
impl Clone for VolumeStatusEventBuilder
source§fn clone(&self) -> VolumeStatusEventBuilder
fn clone(&self) -> VolumeStatusEventBuilder
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 VolumeStatusEventBuilder
impl Debug for VolumeStatusEventBuilder
source§impl Default for VolumeStatusEventBuilder
impl Default for VolumeStatusEventBuilder
source§fn default() -> VolumeStatusEventBuilder
fn default() -> VolumeStatusEventBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VolumeStatusEventBuilder
impl PartialEq for VolumeStatusEventBuilder
source§fn eq(&self, other: &VolumeStatusEventBuilder) -> bool
fn eq(&self, other: &VolumeStatusEventBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VolumeStatusEventBuilder
Auto Trait Implementations§
impl Freeze for VolumeStatusEventBuilder
impl RefUnwindSafe for VolumeStatusEventBuilder
impl Send for VolumeStatusEventBuilder
impl Sync for VolumeStatusEventBuilder
impl Unpin for VolumeStatusEventBuilder
impl UnwindSafe for VolumeStatusEventBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.