public static interface Session.Builder extends SdkPojo, CopyableBuilder<Session.Builder,Session>
| Modifier and Type | Method and Description |
|---|---|
default Session.Builder |
command(Consumer<SessionCommand.Builder> command)
The command object.See SessionCommand.
|
Session.Builder |
command(SessionCommand command)
The command object.See SessionCommand.
|
Session.Builder |
connections(ConnectionsList connections)
The number of connections used for the session.
|
default Session.Builder |
connections(Consumer<ConnectionsList.Builder> connections)
The number of connections used for the session.
|
Session.Builder |
createdOn(Instant createdOn)
The time and date when the session was created.
|
Session.Builder |
defaultArguments(Map<String,String> defaultArguments)
A map array of key-value pairs.
|
Session.Builder |
description(String description)
The description of the session.
|
Session.Builder |
errorMessage(String errorMessage)
The error message displayed during the session.
|
Session.Builder |
glueVersion(String glueVersion)
The Glue version determines the versions of Apache Spark and Python that Glue supports.
|
Session.Builder |
id(String id)
The ID of the session.
|
Session.Builder |
maxCapacity(Double maxCapacity)
The number of Glue data processing units (DPUs) that can be allocated when the job runs.
|
Session.Builder |
progress(Double progress)
The code execution progress of the session.
|
Session.Builder |
role(String role)
The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.
|
Session.Builder |
securityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with the session.
|
Session.Builder |
status(SessionStatus status)
The session status.
|
Session.Builder |
status(String status)
The session status.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSession.Builder id(String id)
The ID of the session.
id - The ID of the session.Session.Builder createdOn(Instant createdOn)
The time and date when the session was created.
createdOn - The time and date when the session was created.Session.Builder status(String status)
The session status.
status - The session status.SessionStatus,
SessionStatusSession.Builder status(SessionStatus status)
The session status.
status - The session status.SessionStatus,
SessionStatusSession.Builder errorMessage(String errorMessage)
The error message displayed during the session.
errorMessage - The error message displayed during the session.Session.Builder description(String description)
The description of the session.
description - The description of the session.Session.Builder role(String role)
The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.
role - The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.Session.Builder command(SessionCommand command)
The command object.See SessionCommand.
command - The command object.See SessionCommand.default Session.Builder command(Consumer<SessionCommand.Builder> command)
The command object.See SessionCommand.
This is a convenience method that creates an instance of theSessionCommand.Builder avoiding the need
to create one manually via SessionCommand.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to command(SessionCommand).
command - a consumer that will call methods on SessionCommand.Buildercommand(SessionCommand)Session.Builder defaultArguments(Map<String,String> defaultArguments)
A map array of key-value pairs. Max is 75 pairs.
defaultArguments - A map array of key-value pairs. Max is 75 pairs.Session.Builder connections(ConnectionsList connections)
The number of connections used for the session.
connections - The number of connections used for the session.default Session.Builder connections(Consumer<ConnectionsList.Builder> connections)
The number of connections used for the session.
This is a convenience method that creates an instance of theConnectionsList.Builder avoiding the
need to create one manually via ConnectionsList.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to connections(ConnectionsList).
connections - a consumer that will call methods on ConnectionsList.Builderconnections(ConnectionsList)Session.Builder progress(Double progress)
The code execution progress of the session.
progress - The code execution progress of the session.Session.Builder maxCapacity(Double maxCapacity)
The number of Glue data processing units (DPUs) that can be allocated when the job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB memory.
maxCapacity - The number of Glue data processing units (DPUs) that can be allocated when the job runs. A DPU is a
relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB memory.Session.Builder securityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with the session.
securityConfiguration - The name of the SecurityConfiguration structure to be used with the session.Session.Builder glueVersion(String glueVersion)
The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.
glueVersion - The Glue version determines the versions of Apache Spark and Python that Glue supports. The
GlueVersion must be greater than 2.0.Copyright © 2023. All rights reserved.