Struct aws_sdk_redshift::types::builders::EventBuilder
source · #[non_exhaustive]pub struct EventBuilder { /* private fields */ }
Expand description
A builder for Event
.
Implementations§
source§impl EventBuilder
impl EventBuilder
sourcepub fn source_identifier(self, input: impl Into<String>) -> Self
pub fn source_identifier(self, input: impl Into<String>) -> Self
The identifier for the source of the event.
sourcepub fn set_source_identifier(self, input: Option<String>) -> Self
pub fn set_source_identifier(self, input: Option<String>) -> Self
The identifier for the source of the event.
sourcepub fn source_type(self, input: SourceType) -> Self
pub fn source_type(self, input: SourceType) -> Self
The source type for this event.
sourcepub fn set_source_type(self, input: Option<SourceType>) -> Self
pub fn set_source_type(self, input: Option<SourceType>) -> Self
The source type for this event.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The text of this 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
.
A list of the event categories.
Values: Configuration, Management, Monitoring, Security, Pending
sourcepub fn set_event_categories(self, input: Option<Vec<String>>) -> Self
pub fn set_event_categories(self, input: Option<Vec<String>>) -> Self
A list of the event categories.
Values: Configuration, Management, Monitoring, Security, Pending
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 set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
The identifier of the event.
Trait Implementations§
source§impl Clone for EventBuilder
impl Clone for EventBuilder
source§fn clone(&self) -> EventBuilder
fn clone(&self) -> EventBuilder
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 EventBuilder
impl Debug for EventBuilder
source§impl Default for EventBuilder
impl Default for EventBuilder
source§fn default() -> EventBuilder
fn default() -> EventBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EventBuilder> for EventBuilder
impl PartialEq<EventBuilder> for EventBuilder
source§fn eq(&self, other: &EventBuilder) -> bool
fn eq(&self, other: &EventBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EventBuilder
impl Send for EventBuilder
impl Sync for EventBuilder
impl Unpin for EventBuilder
impl UnwindSafe for EventBuilder
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