Interface Session.Builder

    • Method Detail

      • uid

        Session.Builder uid​(String uid)

        The unique identifier of the session.

        Parameters:
        uid - The unique identifier of the session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mfaStatus

        Session.Builder mfaStatus​(String mfaStatus)

        Indicates whether or not multi-factor authencation (MFA) was used during authentication.

        In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.mfaAuthenticated.

        Parameters:
        mfaStatus - Indicates whether or not multi-factor authencation (MFA) was used during authentication.

        In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.mfaAuthenticated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MfaStatus, MfaStatus
      • mfaStatus

        Session.Builder mfaStatus​(MfaStatus mfaStatus)

        Indicates whether or not multi-factor authencation (MFA) was used during authentication.

        In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.mfaAuthenticated.

        Parameters:
        mfaStatus - Indicates whether or not multi-factor authencation (MFA) was used during authentication.

        In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.mfaAuthenticated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MfaStatus, MfaStatus
      • createdTime

        Session.Builder createdTime​(Instant createdTime)

        The timestamp for when the session was created.

        In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.creationDate.

        Parameters:
        createdTime - The timestamp for when the session was created.

        In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.creationDate.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • issuer

        Session.Builder issuer​(String issuer)

        Identifier of the session issuer.

        In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.sessionIssuer.arn.

        Parameters:
        issuer - Identifier of the session issuer.

        In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.sessionIssuer.arn.

        Returns:
        Returns a reference to this object so that method calls can be chained together.