Struct aws_sdk_databasemigration::model::event::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Event
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn source_identifier(self, input: impl Into<String>) -> Self
pub fn source_identifier(self, input: impl Into<String>) -> Self
The identifier of an event source.
sourcepub fn set_source_identifier(self, input: Option<String>) -> Self
pub fn set_source_identifier(self, input: Option<String>) -> Self
The identifier of an event source.
sourcepub fn source_type(self, input: SourceType) -> Self
pub fn source_type(self, input: SourceType) -> Self
The type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
sourcepub fn set_source_type(self, input: Option<SourceType>) -> Self
pub fn set_source_type(self, input: Option<SourceType>) -> Self
The type of DMS resource that generates events.
Valid values: replication-instance | endpoint | replication-task
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The event message.
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 event categories available for the specified source type.
sourcepub fn set_event_categories(self, input: Option<Vec<String>>) -> Self
pub fn set_event_categories(self, input: Option<Vec<String>>) -> Self
The event categories available for the specified source type.