Interface Session.Builder

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

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

    • 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

      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:
    • 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.