Interface Session.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Session.Builder,
,Session> SdkBuilder<Session.Builder,
,Session> SdkPojo
- Enclosing class:
Session
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTime
(Instant createdTime) The timestamp for when the session was created.Identifier of the session issuer.Indicates whether or not multi-factor authencation (MFA) was used during authentication.Indicates whether or not multi-factor authencation (MFA) was used during authentication.The unique identifier of the session.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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
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.
-