#[non_exhaustive]pub struct DeleteEventInputBuilder { /* private fields */ }
Expand description
A builder for DeleteEventInput
.
Implementations§
source§impl DeleteEventInputBuilder
impl DeleteEventInputBuilder
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 to delete.
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 to delete.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
The ID of the event to delete.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The name of the event type.
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 name of the event type.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The name of the event type.
sourcepub fn delete_audit_history(self, input: bool) -> Self
pub fn delete_audit_history(self, input: bool) -> Self
Specifies whether or not to delete any predictions associated with the event. If set to True
,
sourcepub fn set_delete_audit_history(self, input: Option<bool>) -> Self
pub fn set_delete_audit_history(self, input: Option<bool>) -> Self
Specifies whether or not to delete any predictions associated with the event. If set to True
,
sourcepub fn get_delete_audit_history(&self) -> &Option<bool>
pub fn get_delete_audit_history(&self) -> &Option<bool>
Specifies whether or not to delete any predictions associated with the event. If set to True
,
sourcepub fn build(self) -> Result<DeleteEventInput, BuildError>
pub fn build(self) -> Result<DeleteEventInput, BuildError>
Consumes the builder and constructs a DeleteEventInput
.
source§impl DeleteEventInputBuilder
impl DeleteEventInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteEventOutput, SdkError<DeleteEventError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteEventOutput, SdkError<DeleteEventError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteEventInputBuilder
impl Clone for DeleteEventInputBuilder
source§fn clone(&self) -> DeleteEventInputBuilder
fn clone(&self) -> DeleteEventInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeleteEventInputBuilder
impl Debug for DeleteEventInputBuilder
source§impl Default for DeleteEventInputBuilder
impl Default for DeleteEventInputBuilder
source§fn default() -> DeleteEventInputBuilder
fn default() -> DeleteEventInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteEventInputBuilder
impl PartialEq for DeleteEventInputBuilder
source§fn eq(&self, other: &DeleteEventInputBuilder) -> bool
fn eq(&self, other: &DeleteEventInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteEventInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteEventInputBuilder
impl RefUnwindSafe for DeleteEventInputBuilder
impl Send for DeleteEventInputBuilder
impl Sync for DeleteEventInputBuilder
impl Unpin for DeleteEventInputBuilder
impl UnwindSafe for DeleteEventInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.