Struct aws_sdk_frauddetector::operation::put_entity_type::builders::PutEntityTypeFluentBuilder
source · pub struct PutEntityTypeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutEntityType
.
Creates or updates an entity type. An entity represents who is performing the event. As part of a fraud prediction, you pass the entity ID to indicate the specific entity who performed the event. An entity type classifies the entity. Example classifications include customer, merchant, or account.
Implementations§
source§impl PutEntityTypeFluentBuilder
impl PutEntityTypeFluentBuilder
sourcepub fn as_input(&self) -> &PutEntityTypeInputBuilder
pub fn as_input(&self) -> &PutEntityTypeInputBuilder
Access the PutEntityType as a reference.
sourcepub async fn send(
self
) -> Result<PutEntityTypeOutput, SdkError<PutEntityTypeError, HttpResponse>>
pub async fn send( self ) -> Result<PutEntityTypeOutput, SdkError<PutEntityTypeError, 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<PutEntityTypeOutput, PutEntityTypeError, Self>
pub fn customize( self ) -> CustomizableOperation<PutEntityTypeOutput, PutEntityTypeError, 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.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description.
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.
Trait Implementations§
source§impl Clone for PutEntityTypeFluentBuilder
impl Clone for PutEntityTypeFluentBuilder
source§fn clone(&self) -> PutEntityTypeFluentBuilder
fn clone(&self) -> PutEntityTypeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more