Struct aws_sdk_docdb::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
Provides 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
Provides the identifier for the source of the event.
sourcepub fn get_source_identifier(&self) -> &Option<String>
pub fn get_source_identifier(&self) -> &Option<String>
Provides the identifier for the source of the event.
sourcepub fn source_type(self, input: SourceType) -> Self
pub fn source_type(self, input: SourceType) -> Self
Specifies 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
Specifies the source type for this event.
sourcepub fn get_source_type(&self) -> &Option<SourceType>
pub fn get_source_type(&self) -> &Option<SourceType>
Specifies the source type for this event.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Provides the text of this event.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
Provides 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.
Specifies the category for the event.
sourcepub fn set_event_categories(self, input: Option<Vec<String>>) -> Self
pub fn set_event_categories(self, input: Option<Vec<String>>) -> Self
Specifies the category for the event.
sourcepub fn get_event_categories(&self) -> &Option<Vec<String>>
pub fn get_event_categories(&self) -> &Option<Vec<String>>
Specifies the category for the event.
sourcepub fn set_date(self, input: Option<DateTime>) -> Self
pub fn set_date(self, input: Option<DateTime>) -> Self
Specifies the date and time of the event.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the event.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the event.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the event.
Trait Implementations§
source§impl Clone for EventBuilder
impl Clone for EventBuilder
source§fn clone(&self) -> EventBuilder
fn clone(&self) -> EventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for EventBuilder
impl PartialEq for EventBuilder
source§fn eq(&self, other: &EventBuilder) -> bool
fn eq(&self, other: &EventBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EventBuilder
Auto Trait Implementations§
impl Freeze for EventBuilder
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
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