Struct aws_sdk_frauddetector::operation::update_event_label::builders::UpdateEventLabelFluentBuilder
source · pub struct UpdateEventLabelFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateEventLabel
.
Updates the specified event with a new label.
Implementations§
source§impl UpdateEventLabelFluentBuilder
impl UpdateEventLabelFluentBuilder
sourcepub fn as_input(&self) -> &UpdateEventLabelInputBuilder
pub fn as_input(&self) -> &UpdateEventLabelInputBuilder
Access the UpdateEventLabel as a reference.
sourcepub async fn send(
self
) -> Result<UpdateEventLabelOutput, SdkError<UpdateEventLabelError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateEventLabelOutput, SdkError<UpdateEventLabelError, 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<UpdateEventLabelOutput, UpdateEventLabelError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateEventLabelOutput, UpdateEventLabelError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn event_id(self, input: impl Into<String>) -> Self
pub fn event_id(self, input: impl Into<String>) -> Self
The ID of the event associated with the label to update.
sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
The ID of the event associated with the label to update.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
The ID of the event associated with the label to update.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The event type of the event associated with the label to update.
sourcepub fn set_event_type_name(self, input: Option<String>) -> Self
pub fn set_event_type_name(self, input: Option<String>) -> Self
The event type of the event associated with the label to update.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The event type of the event associated with the label to update.
sourcepub fn assigned_label(self, input: impl Into<String>) -> Self
pub fn assigned_label(self, input: impl Into<String>) -> Self
The new label to assign to the event.
sourcepub fn set_assigned_label(self, input: Option<String>) -> Self
pub fn set_assigned_label(self, input: Option<String>) -> Self
The new label to assign to the event.
sourcepub fn get_assigned_label(&self) -> &Option<String>
pub fn get_assigned_label(&self) -> &Option<String>
The new label to assign to the event.
sourcepub fn label_timestamp(self, input: impl Into<String>) -> Self
pub fn label_timestamp(self, input: impl Into<String>) -> Self
The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.
sourcepub fn set_label_timestamp(self, input: Option<String>) -> Self
pub fn set_label_timestamp(self, input: Option<String>) -> Self
The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.
sourcepub fn get_label_timestamp(&self) -> &Option<String>
pub fn get_label_timestamp(&self) -> &Option<String>
The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.
Trait Implementations§
source§impl Clone for UpdateEventLabelFluentBuilder
impl Clone for UpdateEventLabelFluentBuilder
source§fn clone(&self) -> UpdateEventLabelFluentBuilder
fn clone(&self) -> UpdateEventLabelFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more