Struct aws_sdk_frauddetector::operation::put_event_type::builders::PutEventTypeFluentBuilder
source · pub struct PutEventTypeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutEventType
.
Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.
Implementations§
source§impl PutEventTypeFluentBuilder
impl PutEventTypeFluentBuilder
sourcepub fn as_input(&self) -> &PutEventTypeInputBuilder
pub fn as_input(&self) -> &PutEventTypeInputBuilder
Access the PutEventType as a reference.
sourcepub async fn send(
self
) -> Result<PutEventTypeOutput, SdkError<PutEventTypeError, HttpResponse>>
pub async fn send( self ) -> Result<PutEventTypeOutput, SdkError<PutEventTypeError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<PutEventTypeOutput, PutEventTypeError, Self>
pub fn customize( self ) -> CustomizableOperation<PutEventTypeOutput, PutEventTypeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 eventVariables
.
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 entityTypes
.
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.
Trait Implementations§
source§impl Clone for PutEventTypeFluentBuilder
impl Clone for PutEventTypeFluentBuilder
source§fn clone(&self) -> PutEventTypeFluentBuilder
fn clone(&self) -> PutEventTypeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more