Interface SessionContext.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SessionContext.Builder,,- SessionContext> - SdkBuilder<SessionContext.Builder,,- SessionContext> - SdkPojo
- Enclosing class:
- SessionContext
@Mutable
@NotThreadSafe
public static interface SessionContext.Builder
extends SdkPojo, CopyableBuilder<SessionContext.Builder,SessionContext> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
attributesThe 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.
 
- 
attributesThe 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 on- SessionContextAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sessionIssuerThe 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.
 
- 
sessionIssuerThe 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 on- SessionIssuer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-