Interface EventFeedbackType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EventFeedbackType.Builder,EventFeedbackType>, SdkBuilder<EventFeedbackType.Builder,EventFeedbackType>, SdkPojo
Enclosing class:
EventFeedbackType

@Mutable @NotThreadSafe public static interface EventFeedbackType.Builder extends SdkPojo, CopyableBuilder<EventFeedbackType.Builder,EventFeedbackType>
  • Method Details

    • feedbackValue

      EventFeedbackType.Builder feedbackValue(String feedbackValue)

      Your feedback to the authentication event. 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.

      Parameters:
      feedbackValue - Your feedback to the authentication event. 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • feedbackValue

      EventFeedbackType.Builder feedbackValue(FeedbackValueType feedbackValue)

      Your feedback to the authentication event. 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.

      Parameters:
      feedbackValue - Your feedback to the authentication event. 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • provider

      EventFeedbackType.Builder provider(String provider)

      The submitter of the event feedback. For example, if you submit event feedback in the Amazon Cognito console, this value is Admin.

      Parameters:
      provider - The submitter of the event feedback. For example, if you submit event feedback in the Amazon Cognito console, this value is Admin.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • feedbackDate

      EventFeedbackType.Builder feedbackDate(Instant feedbackDate)

      The date that you or your user submitted the feedback.

      Parameters:
      feedbackDate - The date that you or your user submitted the feedback.
      Returns:
      Returns a reference to this object so that method calls can be chained together.