Interface SessionContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SessionContext.Builder,
,SessionContext> SdkBuilder<SessionContext.Builder,
,SessionContext> SdkPojo
- Enclosing class:
SessionContext
public static interface SessionContext.Builder
extends SdkPojo, CopyableBuilder<SessionContext.Builder,SessionContext>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SessionContext.Builder
attributes
(Consumer<SessionContextAttributes.Builder> attributes) The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.attributes
(SessionContextAttributes attributes) The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.default SessionContext.Builder
sessionIssuer
(Consumer<SessionIssuer.Builder> sessionIssuer) The source and type of credentials that were issued to the entity.sessionIssuer
(SessionIssuer sessionIssuer) The source and type of credentials that were issued to the entity.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, sdkFields
-
Method Details
-
attributes
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
- Parameters:
attributes
- The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
This is a convenience method that creates an instance of theSessionContextAttributes.Builder
avoiding the need to create one manually viaSessionContextAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(SessionContextAttributes)
.- Parameters:
attributes
- a consumer that will call methods onSessionContextAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionIssuer
The source and type of credentials that were issued to the entity.
- Parameters:
sessionIssuer
- The source and type of credentials that were issued to the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionIssuer
The source and type of credentials that were issued to the entity.
This is a convenience method that creates an instance of theSessionIssuer.Builder
avoiding the need to create one manually viaSessionIssuer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosessionIssuer(SessionIssuer)
.- Parameters:
sessionIssuer
- a consumer that will call methods onSessionIssuer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-