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.Builderattributes(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.BuildersessionIssuer(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaSessionContextAttributes.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSessionIssuer.builder().When the
Consumercompletes,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:
-