Interface AuthEventType.Builder

    • Method Detail

      • eventId

        AuthEventType.Builder eventId​(String eventId)

        The event ID.

        Parameters:
        eventId - The event ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventType

        AuthEventType.Builder eventType​(String eventType)

        The type of authentication event.

        Parameters:
        eventType - The type of authentication event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventType, EventType
      • eventType

        AuthEventType.Builder eventType​(EventType eventType)

        The type of authentication event.

        Parameters:
        eventType - The type of authentication event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventType, EventType
      • creationDate

        AuthEventType.Builder creationDate​(Instant creationDate)

        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.

        Parameters:
        creationDate - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventRisk

        AuthEventType.Builder eventRisk​(EventRiskType eventRisk)

        The threat evaluation from your user pool about an event. Contains information about whether your user pool detected compromised credentials, whether the event triggered an automated response, and the level of risk.

        Parameters:
        eventRisk - The threat evaluation from your user pool about an event. Contains information about whether your user pool detected compromised credentials, whether the event triggered an automated response, and the level of risk.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • challengeResponses

        AuthEventType.Builder challengeResponses​(Collection<ChallengeResponseType> challengeResponses)

        A list of the challenges that the user was requested to answer, for example Password, and the result, for example Success.

        Parameters:
        challengeResponses - A list of the challenges that the user was requested to answer, for example Password, and the result, for example Success.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • challengeResponses

        AuthEventType.Builder challengeResponses​(ChallengeResponseType... challengeResponses)

        A list of the challenges that the user was requested to answer, for example Password, and the result, for example Success.

        Parameters:
        challengeResponses - A list of the challenges that the user was requested to answer, for example Password, and the result, for example Success.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventContextData

        AuthEventType.Builder eventContextData​(EventContextDataType eventContextData)

        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.

        Parameters:
        eventContextData - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventFeedback

        AuthEventType.Builder eventFeedback​(EventFeedbackType eventFeedback)

        The UpdateAuthEventFeedback or AdminUpdateAuthEventFeedback feedback that you or your user provided in response to the event. A value of Valid indicates that you disagreed with the level of risk that your user pool assigned, and evaluated a session to be valid, or likely safe. A value of Invalid indicates that you agreed with the user pool risk level and evaluated a session to be invalid, or likely malicious.

        Parameters:
        eventFeedback - The UpdateAuthEventFeedback or AdminUpdateAuthEventFeedback feedback that you or your user provided in response to the event. A value of Valid indicates that you disagreed with the level of risk that your user pool assigned, and evaluated a session to be valid, or likely safe. A value of Invalid indicates that you agreed with the user pool risk level and evaluated a session to be invalid, or likely malicious.
        Returns:
        Returns a reference to this object so that method calls can be chained together.