Interface Session.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Session.Builder,Session>,SdkBuilder<Session.Builder,Session>,SdkPojo
- Enclosing class:
- Session
public static interface Session.Builder extends SdkPojo, CopyableBuilder<Session.Builder,Session>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Session.BuildercreatedTime(Instant createdTime)The timestamp for when the session was created.Session.Builderissuer(String issuer)Identifier of the session issuer.Session.BuildermfaStatus(String mfaStatus)Indicates whether or not multi-factor authencation (MFA) was used during authentication.Session.BuildermfaStatus(MfaStatus mfaStatus)Indicates whether or not multi-factor authencation (MFA) was used during authentication.Session.Builderuid(String uid)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 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.
-
-