#[non_exhaustive]pub struct AuthEventTypeBuilder { /* private fields */ }
Expand description
A builder for AuthEventType
.
Implementations§
source§impl AuthEventTypeBuilder
impl AuthEventTypeBuilder
sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
The event ID.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
The event ID.
sourcepub fn event_type(self, input: EventType) -> Self
pub fn event_type(self, input: EventType) -> Self
The event type.
sourcepub fn set_event_type(self, input: Option<EventType>) -> Self
pub fn set_event_type(self, input: Option<EventType>) -> Self
The event type.
sourcepub fn get_event_type(&self) -> &Option<EventType>
pub fn get_event_type(&self) -> &Option<EventType>
The event type.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date
object.
sourcepub fn event_response(self, input: EventResponseType) -> Self
pub fn event_response(self, input: EventResponseType) -> Self
The event response.
sourcepub fn set_event_response(self, input: Option<EventResponseType>) -> Self
pub fn set_event_response(self, input: Option<EventResponseType>) -> Self
The event response.
sourcepub fn get_event_response(&self) -> &Option<EventResponseType>
pub fn get_event_response(&self) -> &Option<EventResponseType>
The event response.
sourcepub fn event_risk(self, input: EventRiskType) -> Self
pub fn event_risk(self, input: EventRiskType) -> Self
The event risk.
sourcepub fn set_event_risk(self, input: Option<EventRiskType>) -> Self
pub fn set_event_risk(self, input: Option<EventRiskType>) -> Self
The event risk.
sourcepub fn get_event_risk(&self) -> &Option<EventRiskType>
pub fn get_event_risk(&self) -> &Option<EventRiskType>
The event risk.
sourcepub fn challenge_responses(self, input: ChallengeResponseType) -> Self
pub fn challenge_responses(self, input: ChallengeResponseType) -> Self
Appends an item to challenge_responses
.
To override the contents of this collection use set_challenge_responses
.
The challenge responses.
sourcepub fn set_challenge_responses(
self,
input: Option<Vec<ChallengeResponseType>>,
) -> Self
pub fn set_challenge_responses( self, input: Option<Vec<ChallengeResponseType>>, ) -> Self
The challenge responses.
sourcepub fn get_challenge_responses(&self) -> &Option<Vec<ChallengeResponseType>>
pub fn get_challenge_responses(&self) -> &Option<Vec<ChallengeResponseType>>
The challenge responses.
sourcepub fn event_context_data(self, input: EventContextDataType) -> Self
pub fn event_context_data(self, input: EventContextDataType) -> Self
The user context data captured at the time of an event request. This value provides additional information about the client from which event the request is received.
sourcepub fn set_event_context_data(self, input: Option<EventContextDataType>) -> Self
pub fn set_event_context_data(self, input: Option<EventContextDataType>) -> Self
The user context data captured at the time of an event request. This value provides additional information about the client from which event the request is received.
sourcepub fn get_event_context_data(&self) -> &Option<EventContextDataType>
pub fn get_event_context_data(&self) -> &Option<EventContextDataType>
The user context data captured at the time of an event request. This value provides additional information about the client from which event the request is received.
sourcepub fn event_feedback(self, input: EventFeedbackType) -> Self
pub fn event_feedback(self, input: EventFeedbackType) -> Self
A flag specifying the user feedback captured at the time of an event request is good or bad.
sourcepub fn set_event_feedback(self, input: Option<EventFeedbackType>) -> Self
pub fn set_event_feedback(self, input: Option<EventFeedbackType>) -> Self
A flag specifying the user feedback captured at the time of an event request is good or bad.
sourcepub fn get_event_feedback(&self) -> &Option<EventFeedbackType>
pub fn get_event_feedback(&self) -> &Option<EventFeedbackType>
A flag specifying the user feedback captured at the time of an event request is good or bad.
sourcepub fn build(self) -> AuthEventType
pub fn build(self) -> AuthEventType
Consumes the builder and constructs a AuthEventType
.
Trait Implementations§
source§impl Clone for AuthEventTypeBuilder
impl Clone for AuthEventTypeBuilder
source§fn clone(&self) -> AuthEventTypeBuilder
fn clone(&self) -> AuthEventTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthEventTypeBuilder
impl Debug for AuthEventTypeBuilder
source§impl Default for AuthEventTypeBuilder
impl Default for AuthEventTypeBuilder
source§fn default() -> AuthEventTypeBuilder
fn default() -> AuthEventTypeBuilder
source§impl PartialEq for AuthEventTypeBuilder
impl PartialEq for AuthEventTypeBuilder
source§fn eq(&self, other: &AuthEventTypeBuilder) -> bool
fn eq(&self, other: &AuthEventTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthEventTypeBuilder
Auto Trait Implementations§
impl Freeze for AuthEventTypeBuilder
impl RefUnwindSafe for AuthEventTypeBuilder
impl Send for AuthEventTypeBuilder
impl Sync for AuthEventTypeBuilder
impl Unpin for AuthEventTypeBuilder
impl UnwindSafe for AuthEventTypeBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more