@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSessionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to create a new session.
NOOP
Constructor and Description |
---|
CreateSessionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSessionRequest |
addDefaultArgumentsEntry(String key,
String value)
Add a single DefaultArguments entry
|
CreateSessionRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSessionRequest |
clearDefaultArgumentsEntries()
Removes all the entries added into DefaultArguments.
|
CreateSessionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSessionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
SessionCommand |
getCommand()
The
SessionCommand that runs the job. |
ConnectionsList |
getConnections()
The number of connections to use for the session.
|
Map<String,String> |
getDefaultArguments()
A map array of key-value pairs.
|
String |
getDescription()
The description of the session.
|
String |
getGlueVersion()
The Glue version determines the versions of Apache Spark and Python that Glue supports.
|
String |
getId()
The ID of the session request.
|
Integer |
getIdleTimeout()
The number of minutes when idle before session times out.
|
Double |
getMaxCapacity()
The number of Glue data processing units (DPUs) that can be allocated when the job runs.
|
Integer |
getNumberOfWorkers()
The number of workers of a defined
WorkerType to use for the session. |
String |
getRequestOrigin()
The origin of the request.
|
String |
getRole()
The IAM Role ARN
|
String |
getSecurityConfiguration()
The name of the SecurityConfiguration structure to be used with the session
|
Map<String,String> |
getTags()
The map of key value pairs (tags) belonging to the session.
|
Integer |
getTimeout()
The number of minutes before session times out.
|
String |
getWorkerType()
The type of predefined worker that is allocated when a job runs.
|
int |
hashCode() |
void |
setCommand(SessionCommand command)
The
SessionCommand that runs the job. |
void |
setConnections(ConnectionsList connections)
The number of connections to use for the session.
|
void |
setDefaultArguments(Map<String,String> defaultArguments)
A map array of key-value pairs.
|
void |
setDescription(String description)
The description of the session.
|
void |
setGlueVersion(String glueVersion)
The Glue version determines the versions of Apache Spark and Python that Glue supports.
|
void |
setId(String id)
The ID of the session request.
|
void |
setIdleTimeout(Integer idleTimeout)
The number of minutes when idle before session times out.
|
void |
setMaxCapacity(Double maxCapacity)
The number of Glue data processing units (DPUs) that can be allocated when the job runs.
|
void |
setNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
WorkerType to use for the session. |
void |
setRequestOrigin(String requestOrigin)
The origin of the request.
|
void |
setRole(String role)
The IAM Role ARN
|
void |
setSecurityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with the session
|
void |
setTags(Map<String,String> tags)
The map of key value pairs (tags) belonging to the session.
|
void |
setTimeout(Integer timeout)
The number of minutes before session times out.
|
void |
setWorkerType(String workerType)
The type of predefined worker that is allocated when a job runs.
|
String |
toString()
Returns a string representation of this object.
|
CreateSessionRequest |
withCommand(SessionCommand command)
The
SessionCommand that runs the job. |
CreateSessionRequest |
withConnections(ConnectionsList connections)
The number of connections to use for the session.
|
CreateSessionRequest |
withDefaultArguments(Map<String,String> defaultArguments)
A map array of key-value pairs.
|
CreateSessionRequest |
withDescription(String description)
The description of the session.
|
CreateSessionRequest |
withGlueVersion(String glueVersion)
The Glue version determines the versions of Apache Spark and Python that Glue supports.
|
CreateSessionRequest |
withId(String id)
The ID of the session request.
|
CreateSessionRequest |
withIdleTimeout(Integer idleTimeout)
The number of minutes when idle before session times out.
|
CreateSessionRequest |
withMaxCapacity(Double maxCapacity)
The number of Glue data processing units (DPUs) that can be allocated when the job runs.
|
CreateSessionRequest |
withNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
WorkerType to use for the session. |
CreateSessionRequest |
withRequestOrigin(String requestOrigin)
The origin of the request.
|
CreateSessionRequest |
withRole(String role)
The IAM Role ARN
|
CreateSessionRequest |
withSecurityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with the session
|
CreateSessionRequest |
withTags(Map<String,String> tags)
The map of key value pairs (tags) belonging to the session.
|
CreateSessionRequest |
withTimeout(Integer timeout)
The number of minutes before session times out.
|
CreateSessionRequest |
withWorkerType(String workerType)
The type of predefined worker that is allocated when a job runs.
|
CreateSessionRequest |
withWorkerType(WorkerType workerType)
The type of predefined worker that is allocated when a job runs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The ID of the session request.
id
- The ID of the session request.public String getId()
The ID of the session request.
public CreateSessionRequest withId(String id)
The ID of the session request.
id
- The ID of the session request.public void setDescription(String description)
The description of the session.
description
- The description of the session.public String getDescription()
The description of the session.
public CreateSessionRequest withDescription(String description)
The description of the session.
description
- The description of the session.public void setRole(String role)
The IAM Role ARN
role
- The IAM Role ARNpublic String getRole()
The IAM Role ARN
public CreateSessionRequest withRole(String role)
The IAM Role ARN
role
- The IAM Role ARNpublic void setCommand(SessionCommand command)
The SessionCommand
that runs the job.
command
- The SessionCommand
that runs the job.public SessionCommand getCommand()
The SessionCommand
that runs the job.
SessionCommand
that runs the job.public CreateSessionRequest withCommand(SessionCommand command)
The SessionCommand
that runs the job.
command
- The SessionCommand
that runs the job.public void setTimeout(Integer timeout)
The number of minutes before session times out. Default for Spark ETL jobs is 48 hours (2880 minutes), the maximum session lifetime for this job type. Consult the documentation for other job types.
timeout
- The number of minutes before session times out. Default for Spark ETL jobs is 48 hours (2880 minutes), the
maximum session lifetime for this job type. Consult the documentation for other job types.public Integer getTimeout()
The number of minutes before session times out. Default for Spark ETL jobs is 48 hours (2880 minutes), the maximum session lifetime for this job type. Consult the documentation for other job types.
public CreateSessionRequest withTimeout(Integer timeout)
The number of minutes before session times out. Default for Spark ETL jobs is 48 hours (2880 minutes), the maximum session lifetime for this job type. Consult the documentation for other job types.
timeout
- The number of minutes before session times out. Default for Spark ETL jobs is 48 hours (2880 minutes), the
maximum session lifetime for this job type. Consult the documentation for other job types.public void setIdleTimeout(Integer idleTimeout)
The number of minutes when idle before session times out. Default for Spark ETL jobs is value of Timeout. Consult the documentation for other job types.
idleTimeout
- The number of minutes when idle before session times out. Default for Spark ETL jobs is value of Timeout.
Consult the documentation for other job types.public Integer getIdleTimeout()
The number of minutes when idle before session times out. Default for Spark ETL jobs is value of Timeout. Consult the documentation for other job types.
public CreateSessionRequest withIdleTimeout(Integer idleTimeout)
The number of minutes when idle before session times out. Default for Spark ETL jobs is value of Timeout. Consult the documentation for other job types.
idleTimeout
- The number of minutes when idle before session times out. Default for Spark ETL jobs is value of Timeout.
Consult the documentation for other job types.public Map<String,String> getDefaultArguments()
A map array of key-value pairs. Max is 75 pairs.
public void setDefaultArguments(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.public CreateSessionRequest withDefaultArguments(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.public CreateSessionRequest addDefaultArgumentsEntry(String key, String value)
public CreateSessionRequest clearDefaultArgumentsEntries()
public void setConnections(ConnectionsList connections)
The number of connections to use for the session.
connections
- The number of connections to use for the session.public ConnectionsList getConnections()
The number of connections to use for the session.
public CreateSessionRequest withConnections(ConnectionsList connections)
The number of connections to use for the session.
connections
- The number of connections to use for the session.public void setMaxCapacity(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.public Double getMaxCapacity()
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.
public CreateSessionRequest withMaxCapacity(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.public void setNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined WorkerType
to use for the session.
numberOfWorkers
- The number of workers of a defined WorkerType
to use for the session.public Integer getNumberOfWorkers()
The number of workers of a defined WorkerType
to use for the session.
WorkerType
to use for the session.public CreateSessionRequest withNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined WorkerType
to use for the session.
numberOfWorkers
- The number of workers of a defined WorkerType
to use for the session.public void setWorkerType(String workerType)
The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, or G.8X for Spark jobs. Accepts the value Z.2X for Ray notebooks.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 84GB disk
(approximately 34GB free), and provides 1 executor per worker. We recommend this worker type for workloads such
as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 128GB disk
(approximately 77GB free), and provides 1 executor per worker. We recommend this worker type for workloads such
as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.4X
worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB disk
(approximately 235GB free), and provides 1 executor per worker. We recommend this worker type for jobs whose
workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available
only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services Regions: US East (Ohio),
US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo),
Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).
For the G.8X
worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB disk
(approximately 487GB free), and provides 1 executor per worker. We recommend this worker type for jobs whose
workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available
only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services Regions as supported for the
G.4X
worker type.
For the Z.2X
worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB disk
(approximately 120GB free), and provides up to 8 Ray workers based on the autoscaler.
workerType
- The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, or
G.8X for Spark jobs. Accepts the value Z.2X for Ray notebooks.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 84GB disk
(approximately 34GB free), and provides 1 executor per worker. We recommend this worker type for workloads
such as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 128GB
disk (approximately 77GB free), and provides 1 executor per worker. We recommend this worker type for
workloads such as data transforms, joins, and queries, to offers a scalable and cost effective way to run
most jobs.
For the G.4X
worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB
disk (approximately 235GB free), and provides 1 executor per worker. We recommend this worker type for
jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker
type is available only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services
Regions: US East (Ohio), US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific
(Sydney), Asia Pacific (Tokyo), Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe
(Stockholm).
For the G.8X
worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB
disk (approximately 487GB free), and provides 1 executor per worker. We recommend this worker type for
jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker
type is available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services
Regions as supported for the G.4X
worker type.
For the Z.2X
worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB
disk (approximately 120GB free), and provides up to 8 Ray workers based on the autoscaler.
WorkerType
public String getWorkerType()
The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, or G.8X for Spark jobs. Accepts the value Z.2X for Ray notebooks.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 84GB disk
(approximately 34GB free), and provides 1 executor per worker. We recommend this worker type for workloads such
as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 128GB disk
(approximately 77GB free), and provides 1 executor per worker. We recommend this worker type for workloads such
as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.4X
worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB disk
(approximately 235GB free), and provides 1 executor per worker. We recommend this worker type for jobs whose
workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available
only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services Regions: US East (Ohio),
US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo),
Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).
For the G.8X
worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB disk
(approximately 487GB free), and provides 1 executor per worker. We recommend this worker type for jobs whose
workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available
only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services Regions as supported for the
G.4X
worker type.
For the Z.2X
worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB disk
(approximately 120GB free), and provides up to 8 Ray workers based on the autoscaler.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 84GB
disk (approximately 34GB free), and provides 1 executor per worker. We recommend this worker type for
workloads such as data transforms, joins, and queries, to offers a scalable and cost effective way to run
most jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 128GB
disk (approximately 77GB free), and provides 1 executor per worker. We recommend this worker type for
workloads such as data transforms, joins, and queries, to offers a scalable and cost effective way to run
most jobs.
For the G.4X
worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB
disk (approximately 235GB free), and provides 1 executor per worker. We recommend this worker type for
jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This
worker type is available only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web
Services Regions: US East (Ohio), US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia
Pacific (Sydney), Asia Pacific (Tokyo), Canada (Central), Europe (Frankfurt), Europe (Ireland), and
Europe (Stockholm).
For the G.8X
worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB
disk (approximately 487GB free), and provides 1 executor per worker. We recommend this worker type for
jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This
worker type is available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web
Services Regions as supported for the G.4X
worker type.
For the Z.2X
worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB
disk (approximately 120GB free), and provides up to 8 Ray workers based on the autoscaler.
WorkerType
public CreateSessionRequest withWorkerType(String workerType)
The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, or G.8X for Spark jobs. Accepts the value Z.2X for Ray notebooks.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 84GB disk
(approximately 34GB free), and provides 1 executor per worker. We recommend this worker type for workloads such
as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 128GB disk
(approximately 77GB free), and provides 1 executor per worker. We recommend this worker type for workloads such
as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.4X
worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB disk
(approximately 235GB free), and provides 1 executor per worker. We recommend this worker type for jobs whose
workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available
only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services Regions: US East (Ohio),
US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo),
Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).
For the G.8X
worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB disk
(approximately 487GB free), and provides 1 executor per worker. We recommend this worker type for jobs whose
workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available
only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services Regions as supported for the
G.4X
worker type.
For the Z.2X
worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB disk
(approximately 120GB free), and provides up to 8 Ray workers based on the autoscaler.
workerType
- The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, or
G.8X for Spark jobs. Accepts the value Z.2X for Ray notebooks.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 84GB disk
(approximately 34GB free), and provides 1 executor per worker. We recommend this worker type for workloads
such as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 128GB
disk (approximately 77GB free), and provides 1 executor per worker. We recommend this worker type for
workloads such as data transforms, joins, and queries, to offers a scalable and cost effective way to run
most jobs.
For the G.4X
worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB
disk (approximately 235GB free), and provides 1 executor per worker. We recommend this worker type for
jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker
type is available only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services
Regions: US East (Ohio), US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific
(Sydney), Asia Pacific (Tokyo), Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe
(Stockholm).
For the G.8X
worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB
disk (approximately 487GB free), and provides 1 executor per worker. We recommend this worker type for
jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker
type is available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services
Regions as supported for the G.4X
worker type.
For the Z.2X
worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB
disk (approximately 120GB free), and provides up to 8 Ray workers based on the autoscaler.
WorkerType
public CreateSessionRequest withWorkerType(WorkerType workerType)
The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, or G.8X for Spark jobs. Accepts the value Z.2X for Ray notebooks.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 84GB disk
(approximately 34GB free), and provides 1 executor per worker. We recommend this worker type for workloads such
as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 128GB disk
(approximately 77GB free), and provides 1 executor per worker. We recommend this worker type for workloads such
as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.4X
worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB disk
(approximately 235GB free), and provides 1 executor per worker. We recommend this worker type for jobs whose
workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available
only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services Regions: US East (Ohio),
US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo),
Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).
For the G.8X
worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB disk
(approximately 487GB free), and provides 1 executor per worker. We recommend this worker type for jobs whose
workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available
only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services Regions as supported for the
G.4X
worker type.
For the Z.2X
worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB disk
(approximately 120GB free), and provides up to 8 Ray workers based on the autoscaler.
workerType
- The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, or
G.8X for Spark jobs. Accepts the value Z.2X for Ray notebooks.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 84GB disk
(approximately 34GB free), and provides 1 executor per worker. We recommend this worker type for workloads
such as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 128GB
disk (approximately 77GB free), and provides 1 executor per worker. We recommend this worker type for
workloads such as data transforms, joins, and queries, to offers a scalable and cost effective way to run
most jobs.
For the G.4X
worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB
disk (approximately 235GB free), and provides 1 executor per worker. We recommend this worker type for
jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker
type is available only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services
Regions: US East (Ohio), US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific
(Sydney), Asia Pacific (Tokyo), Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe
(Stockholm).
For the G.8X
worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB
disk (approximately 487GB free), and provides 1 executor per worker. We recommend this worker type for
jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker
type is available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services
Regions as supported for the G.4X
worker type.
For the Z.2X
worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB
disk (approximately 120GB free), and provides up to 8 Ray workers based on the autoscaler.
WorkerType
public void setSecurityConfiguration(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 sessionpublic String getSecurityConfiguration()
The name of the SecurityConfiguration structure to be used with the session
public CreateSessionRequest withSecurityConfiguration(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 sessionpublic void setGlueVersion(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.public String getGlueVersion()
The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.
public CreateSessionRequest withGlueVersion(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.public Map<String,String> getTags()
The map of key value pairs (tags) belonging to the session.
public void setTags(Map<String,String> tags)
The map of key value pairs (tags) belonging to the session.
tags
- The map of key value pairs (tags) belonging to the session.public CreateSessionRequest withTags(Map<String,String> tags)
The map of key value pairs (tags) belonging to the session.
tags
- The map of key value pairs (tags) belonging to the session.public CreateSessionRequest addTagsEntry(String key, String value)
public CreateSessionRequest clearTagsEntries()
public void setRequestOrigin(String requestOrigin)
The origin of the request.
requestOrigin
- The origin of the request.public String getRequestOrigin()
The origin of the request.
public CreateSessionRequest withRequestOrigin(String requestOrigin)
The origin of the request.
requestOrigin
- The origin of the request.public String toString()
toString
in class Object
Object.toString()
public CreateSessionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()