#[non_exhaustive]pub struct PutEventTypeInputBuilder { /* private fields */ }
Expand description
A builder for PutEventTypeInput
.
Implementations§
source§impl PutEventTypeInputBuilder
impl PutEventTypeInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the event type.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the event type.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the event type.
sourcepub fn event_variables(self, input: impl Into<String>) -> Self
pub fn event_variables(self, input: impl Into<String>) -> Self
Appends an item to event_variables
.
To override the contents of this collection use set_event_variables
.
The event type variables.
sourcepub fn set_event_variables(self, input: Option<Vec<String>>) -> Self
pub fn set_event_variables(self, input: Option<Vec<String>>) -> Self
The event type variables.
sourcepub fn get_event_variables(&self) -> &Option<Vec<String>>
pub fn get_event_variables(&self) -> &Option<Vec<String>>
The event type variables.
sourcepub fn labels(self, input: impl Into<String>) -> Self
pub fn labels(self, input: impl Into<String>) -> Self
Appends an item to labels
.
To override the contents of this collection use set_labels
.
The event type labels.
sourcepub fn set_labels(self, input: Option<Vec<String>>) -> Self
pub fn set_labels(self, input: Option<Vec<String>>) -> Self
The event type labels.
sourcepub fn get_labels(&self) -> &Option<Vec<String>>
pub fn get_labels(&self) -> &Option<Vec<String>>
The event type labels.
sourcepub fn entity_types(self, input: impl Into<String>) -> Self
pub fn entity_types(self, input: impl Into<String>) -> Self
Appends an item to entity_types
.
To override the contents of this collection use set_entity_types
.
The entity type for the event type. Example entity types: customer, merchant, account.
sourcepub fn set_entity_types(self, input: Option<Vec<String>>) -> Self
pub fn set_entity_types(self, input: Option<Vec<String>>) -> Self
The entity type for the event type. Example entity types: customer, merchant, account.
sourcepub fn get_entity_types(&self) -> &Option<Vec<String>>
pub fn get_entity_types(&self) -> &Option<Vec<String>>
The entity type for the event type. Example entity types: customer, merchant, account.
sourcepub fn event_ingestion(self, input: EventIngestion) -> Self
pub fn event_ingestion(self, input: EventIngestion) -> Self
Specifies if ingestion is enabled or disabled.
sourcepub fn set_event_ingestion(self, input: Option<EventIngestion>) -> Self
pub fn set_event_ingestion(self, input: Option<EventIngestion>) -> Self
Specifies if ingestion is enabled or disabled.
sourcepub fn get_event_ingestion(&self) -> &Option<EventIngestion>
pub fn get_event_ingestion(&self) -> &Option<EventIngestion>
Specifies if ingestion is enabled or disabled.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of key and value pairs.
A collection of key and value pairs.
A collection of key and value pairs.
sourcepub fn event_orchestration(self, input: EventOrchestration) -> Self
pub fn event_orchestration(self, input: EventOrchestration) -> Self
Enables or disables event orchestration. If enabled, you can send event predictions to select AWS services for downstream processing of the events.
sourcepub fn set_event_orchestration(self, input: Option<EventOrchestration>) -> Self
pub fn set_event_orchestration(self, input: Option<EventOrchestration>) -> Self
Enables or disables event orchestration. If enabled, you can send event predictions to select AWS services for downstream processing of the events.
sourcepub fn get_event_orchestration(&self) -> &Option<EventOrchestration>
pub fn get_event_orchestration(&self) -> &Option<EventOrchestration>
Enables or disables event orchestration. If enabled, you can send event predictions to select AWS services for downstream processing of the events.
sourcepub fn build(self) -> Result<PutEventTypeInput, BuildError>
pub fn build(self) -> Result<PutEventTypeInput, BuildError>
Consumes the builder and constructs a PutEventTypeInput
.
source§impl PutEventTypeInputBuilder
impl PutEventTypeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutEventTypeOutput, SdkError<PutEventTypeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutEventTypeOutput, SdkError<PutEventTypeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutEventTypeInputBuilder
impl Clone for PutEventTypeInputBuilder
source§fn clone(&self) -> PutEventTypeInputBuilder
fn clone(&self) -> PutEventTypeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutEventTypeInputBuilder
impl Debug for PutEventTypeInputBuilder
source§impl Default for PutEventTypeInputBuilder
impl Default for PutEventTypeInputBuilder
source§fn default() -> PutEventTypeInputBuilder
fn default() -> PutEventTypeInputBuilder
source§impl PartialEq for PutEventTypeInputBuilder
impl PartialEq for PutEventTypeInputBuilder
source§fn eq(&self, other: &PutEventTypeInputBuilder) -> bool
fn eq(&self, other: &PutEventTypeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.