Interface SessionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SessionSummary.Builder,,SessionSummary> SdkBuilder<SessionSummary.Builder,,SessionSummary> SdkPojo
- Enclosing class:
SessionSummary
@Mutable
@NotThreadSafe
public static interface SessionSummary.Builder
extends SdkPojo, CopyableBuilder<SessionSummary.Builder,SessionSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The session description.default SessionSummary.BuilderengineVersion(Consumer<EngineVersion.Builder> engineVersion) The engine version used by the session (for example,PySpark engine version 3).engineVersion(EngineVersion engineVersion) The engine version used by the session (for example,PySpark engine version 3).notebookVersion(String notebookVersion) The notebook version.The session ID.default SessionSummary.Builderstatus(Consumer<SessionStatus.Builder> status) Contains information about the session status.status(SessionStatus status) Contains information about the session status.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, sdkFieldNameToField, sdkFields
-
Method Details
-
sessionId
The session ID.
- Parameters:
sessionId- The session ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The session description.
- Parameters:
description- The session description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The engine version used by the session (for example,
PySpark engine version 3).- Parameters:
engineVersion- The engine version used by the session (for example,PySpark engine version 3).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The engine version used by the session (for example,
This is a convenience method that creates an instance of thePySpark engine version 3).EngineVersion.Builderavoiding the need to create one manually viaEngineVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toengineVersion(EngineVersion).- Parameters:
engineVersion- a consumer that will call methods onEngineVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notebookVersion
The notebook version.
- Parameters:
notebookVersion- The notebook version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Contains information about the session status.
- Parameters:
status- Contains information about the session status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Contains information about the session status.
This is a convenience method that creates an instance of theSessionStatus.Builderavoiding the need to create one manually viaSessionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(SessionStatus).- Parameters:
status- a consumer that will call methods onSessionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-