Struct aws_sdk_frauddetector::operation::update_event_label::builders::UpdateEventLabelInputBuilder
source · #[non_exhaustive]pub struct UpdateEventLabelInputBuilder { /* private fields */ }
Expand description
A builder for UpdateEventLabelInput
.
Implementations§
source§impl UpdateEventLabelInputBuilder
impl UpdateEventLabelInputBuilder
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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateEventLabelInput, BuildError>
pub fn build(self) -> Result<UpdateEventLabelInput, BuildError>
Consumes the builder and constructs a UpdateEventLabelInput
.
source§impl UpdateEventLabelInputBuilder
impl UpdateEventLabelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateEventLabelOutput, SdkError<UpdateEventLabelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateEventLabelOutput, SdkError<UpdateEventLabelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEventLabelInputBuilder
impl Clone for UpdateEventLabelInputBuilder
source§fn clone(&self) -> UpdateEventLabelInputBuilder
fn clone(&self) -> UpdateEventLabelInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateEventLabelInputBuilder
impl Debug for UpdateEventLabelInputBuilder
source§impl Default for UpdateEventLabelInputBuilder
impl Default for UpdateEventLabelInputBuilder
source§fn default() -> UpdateEventLabelInputBuilder
fn default() -> UpdateEventLabelInputBuilder
source§impl PartialEq for UpdateEventLabelInputBuilder
impl PartialEq for UpdateEventLabelInputBuilder
source§fn eq(&self, other: &UpdateEventLabelInputBuilder) -> bool
fn eq(&self, other: &UpdateEventLabelInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.