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<VolumeStatusEventBuilder> for VolumeStatusEventBuilder
impl PartialEq<VolumeStatusEventBuilder> 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 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