Struct aws_sdk_redshift::types::builders::EventInfoMapBuilder
source · #[non_exhaustive]pub struct EventInfoMapBuilder { /* private fields */ }
Expand description
A builder for EventInfoMap
.
Implementations§
source§impl EventInfoMapBuilder
impl EventInfoMapBuilder
sourcepub fn event_id(self, input: impl Into<String>) -> Self
pub fn event_id(self, input: impl Into<String>) -> Self
The identifier of an Amazon Redshift event.
sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
The identifier of an Amazon Redshift event.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
The identifier of an Amazon Redshift event.
sourcepub fn event_categories(self, input: impl Into<String>) -> Self
pub fn event_categories(self, input: impl Into<String>) -> Self
Appends an item to event_categories
.
To override the contents of this collection use set_event_categories
.
The category of an Amazon Redshift event.
sourcepub fn set_event_categories(self, input: Option<Vec<String>>) -> Self
pub fn set_event_categories(self, input: Option<Vec<String>>) -> Self
The category of an Amazon Redshift event.
sourcepub fn get_event_categories(&self) -> &Option<Vec<String>>
pub fn get_event_categories(&self) -> &Option<Vec<String>>
The category of an Amazon Redshift event.
sourcepub fn event_description(self, input: impl Into<String>) -> Self
pub fn event_description(self, input: impl Into<String>) -> Self
The description of an Amazon Redshift event.
sourcepub fn set_event_description(self, input: Option<String>) -> Self
pub fn set_event_description(self, input: Option<String>) -> Self
The description of an Amazon Redshift event.
sourcepub fn get_event_description(&self) -> &Option<String>
pub fn get_event_description(&self) -> &Option<String>
The description of an Amazon Redshift event.
sourcepub fn severity(self, input: impl Into<String>) -> Self
pub fn severity(self, input: impl Into<String>) -> Self
The severity of the event.
Values: ERROR, INFO
sourcepub fn set_severity(self, input: Option<String>) -> Self
pub fn set_severity(self, input: Option<String>) -> Self
The severity of the event.
Values: ERROR, INFO
sourcepub fn get_severity(&self) -> &Option<String>
pub fn get_severity(&self) -> &Option<String>
The severity of the event.
Values: ERROR, INFO
sourcepub fn build(self) -> EventInfoMap
pub fn build(self) -> EventInfoMap
Consumes the builder and constructs a EventInfoMap
.
Trait Implementations§
source§impl Clone for EventInfoMapBuilder
impl Clone for EventInfoMapBuilder
source§fn clone(&self) -> EventInfoMapBuilder
fn clone(&self) -> EventInfoMapBuilder
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 EventInfoMapBuilder
impl Debug for EventInfoMapBuilder
source§impl Default for EventInfoMapBuilder
impl Default for EventInfoMapBuilder
source§fn default() -> EventInfoMapBuilder
fn default() -> EventInfoMapBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EventInfoMapBuilder
impl PartialEq for EventInfoMapBuilder
source§fn eq(&self, other: &EventInfoMapBuilder) -> bool
fn eq(&self, other: &EventInfoMapBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventInfoMapBuilder
Auto Trait Implementations§
impl Freeze for EventInfoMapBuilder
impl RefUnwindSafe for EventInfoMapBuilder
impl Send for EventInfoMapBuilder
impl Sync for EventInfoMapBuilder
impl Unpin for EventInfoMapBuilder
impl UnwindSafe for EventInfoMapBuilder
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>
Creates a shared type from an unshared type.