#[non_exhaustive]pub struct EventFeedbackTypeBuilder { /* private fields */ }
Expand description
A builder for EventFeedbackType
.
Implementations§
source§impl EventFeedbackTypeBuilder
impl EventFeedbackTypeBuilder
sourcepub fn feedback_value(self, input: FeedbackValueType) -> Self
pub fn feedback_value(self, input: FeedbackValueType) -> Self
The authentication event feedback value. When you provide a FeedbackValue
value of valid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide a FeedbackValue
value of invalid
, you tell Amazon Cognito that you don't trust a user session, or you don't believe that Amazon Cognito evaluated a high-enough risk level.
sourcepub fn set_feedback_value(self, input: Option<FeedbackValueType>) -> Self
pub fn set_feedback_value(self, input: Option<FeedbackValueType>) -> Self
The authentication event feedback value. When you provide a FeedbackValue
value of valid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide a FeedbackValue
value of invalid
, you tell Amazon Cognito that you don't trust a user session, or you don't believe that Amazon Cognito evaluated a high-enough risk level.
sourcepub fn get_feedback_value(&self) -> &Option<FeedbackValueType>
pub fn get_feedback_value(&self) -> &Option<FeedbackValueType>
The authentication event feedback value. When you provide a FeedbackValue
value of valid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide a FeedbackValue
value of invalid
, you tell Amazon Cognito that you don't trust a user session, or you don't believe that Amazon Cognito evaluated a high-enough risk level.
sourcepub fn set_provider(self, input: Option<String>) -> Self
pub fn set_provider(self, input: Option<String>) -> Self
The provider.
sourcepub fn get_provider(&self) -> &Option<String>
pub fn get_provider(&self) -> &Option<String>
The provider.
sourcepub fn feedback_date(self, input: DateTime) -> Self
pub fn feedback_date(self, input: DateTime) -> Self
The event feedback date.
sourcepub fn set_feedback_date(self, input: Option<DateTime>) -> Self
pub fn set_feedback_date(self, input: Option<DateTime>) -> Self
The event feedback date.
sourcepub fn get_feedback_date(&self) -> &Option<DateTime>
pub fn get_feedback_date(&self) -> &Option<DateTime>
The event feedback date.
sourcepub fn build(self) -> Result<EventFeedbackType, BuildError>
pub fn build(self) -> Result<EventFeedbackType, BuildError>
Consumes the builder and constructs a EventFeedbackType
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EventFeedbackTypeBuilder
impl Clone for EventFeedbackTypeBuilder
source§fn clone(&self) -> EventFeedbackTypeBuilder
fn clone(&self) -> EventFeedbackTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EventFeedbackTypeBuilder
impl Debug for EventFeedbackTypeBuilder
source§impl Default for EventFeedbackTypeBuilder
impl Default for EventFeedbackTypeBuilder
source§fn default() -> EventFeedbackTypeBuilder
fn default() -> EventFeedbackTypeBuilder
source§impl PartialEq for EventFeedbackTypeBuilder
impl PartialEq for EventFeedbackTypeBuilder
source§fn eq(&self, other: &EventFeedbackTypeBuilder) -> bool
fn eq(&self, other: &EventFeedbackTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventFeedbackTypeBuilder
Auto Trait Implementations§
impl Freeze for EventFeedbackTypeBuilder
impl RefUnwindSafe for EventFeedbackTypeBuilder
impl Send for EventFeedbackTypeBuilder
impl Sync for EventFeedbackTypeBuilder
impl Unpin for EventFeedbackTypeBuilder
impl UnwindSafe for EventFeedbackTypeBuilder
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