Interface SessionSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SessionSummary.Builder,
,SessionSummary> SdkBuilder<SessionSummary.Builder,
,SessionSummary> SdkPojo
- Enclosing class:
SessionSummary
public static interface SessionSummary.Builder
extends SdkPojo, CopyableBuilder<SessionSummary.Builder,SessionSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The session description.default SessionSummary.Builder
engineVersion
(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.Builder
status
(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
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
-
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.Builder
avoiding the need to create one manually viaEngineVersion.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaSessionStatus.builder()
.When the
Consumer
completes,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:
-