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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.SessionContext.Builderattributes(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.SessionContext.BuildersessionIssuer(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attributes
SessionContext.Builder 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.
- 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
default 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.
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:
attributes(SessionContextAttributes)
-
sessionIssuer
SessionContext.Builder sessionIssuer(SessionIssuer 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
default SessionContext.Builder sessionIssuer(Consumer<SessionIssuer.Builder> 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:
sessionIssuer(SessionIssuer)
-
-