Interface CreateDevEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDevEndpointRequest.Builder,CreateDevEndpointRequest>,GlueRequest.Builder,SdkBuilder<CreateDevEndpointRequest.Builder,CreateDevEndpointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDevEndpointRequest
public static interface CreateDevEndpointRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateDevEndpointRequest.Builder,CreateDevEndpointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDevEndpointRequest.Builderarguments(Map<String,String> arguments)A map of arguments used to configure theDevEndpoint.CreateDevEndpointRequest.BuilderendpointName(String endpointName)The name to be assigned to the newDevEndpoint.CreateDevEndpointRequest.BuilderextraJarsS3Path(String extraJarsS3Path)The path to one or more Java.jarfiles in an S3 bucket that should be loaded in yourDevEndpoint.CreateDevEndpointRequest.BuilderextraPythonLibsS3Path(String extraPythonLibsS3Path)The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in yourDevEndpoint.CreateDevEndpointRequest.BuilderglueVersion(String glueVersion)Glue version determines the versions of Apache Spark and Python that Glue supports.CreateDevEndpointRequest.BuildernumberOfNodes(Integer numberOfNodes)The number of Glue Data Processing Units (DPUs) to allocate to thisDevEndpoint.CreateDevEndpointRequest.BuildernumberOfWorkers(Integer numberOfWorkers)The number of workers of a definedworkerTypethat are allocated to the development endpoint.CreateDevEndpointRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDevEndpointRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDevEndpointRequest.BuilderpublicKey(String publicKey)The public key to be used by thisDevEndpointfor authentication.CreateDevEndpointRequest.BuilderpublicKeys(String... publicKeys)A list of public keys to be used by the development endpoints for authentication.CreateDevEndpointRequest.BuilderpublicKeys(Collection<String> publicKeys)A list of public keys to be used by the development endpoints for authentication.CreateDevEndpointRequest.BuilderroleArn(String roleArn)The IAM role for theDevEndpoint.CreateDevEndpointRequest.BuildersecurityConfiguration(String securityConfiguration)The name of theSecurityConfigurationstructure to be used with thisDevEndpoint.CreateDevEndpointRequest.BuildersecurityGroupIds(String... securityGroupIds)Security group IDs for the security groups to be used by the newDevEndpoint.CreateDevEndpointRequest.BuildersecurityGroupIds(Collection<String> securityGroupIds)Security group IDs for the security groups to be used by the newDevEndpoint.CreateDevEndpointRequest.BuildersubnetId(String subnetId)The subnet ID for the newDevEndpointto use.CreateDevEndpointRequest.Buildertags(Map<String,String> tags)The tags to use with this DevEndpoint.CreateDevEndpointRequest.BuilderworkerType(String workerType)The type of predefined worker that is allocated to the development endpoint.CreateDevEndpointRequest.BuilderworkerType(WorkerType workerType)The type of predefined worker that is allocated to the development endpoint.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
endpointName
CreateDevEndpointRequest.Builder endpointName(String endpointName)
The name to be assigned to the new
DevEndpoint.- Parameters:
endpointName- The name to be assigned to the newDevEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateDevEndpointRequest.Builder roleArn(String roleArn)
The IAM role for the
DevEndpoint.- Parameters:
roleArn- The IAM role for theDevEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
CreateDevEndpointRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
Security group IDs for the security groups to be used by the new
DevEndpoint.- Parameters:
securityGroupIds- Security group IDs for the security groups to be used by the newDevEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
CreateDevEndpointRequest.Builder securityGroupIds(String... securityGroupIds)
Security group IDs for the security groups to be used by the new
DevEndpoint.- Parameters:
securityGroupIds- Security group IDs for the security groups to be used by the newDevEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
CreateDevEndpointRequest.Builder subnetId(String subnetId)
The subnet ID for the new
DevEndpointto use.- Parameters:
subnetId- The subnet ID for the newDevEndpointto use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKey
CreateDevEndpointRequest.Builder publicKey(String publicKey)
The public key to be used by this
DevEndpointfor authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.- Parameters:
publicKey- The public key to be used by thisDevEndpointfor authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeys
CreateDevEndpointRequest.Builder publicKeys(Collection<String> publicKeys)
A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.
If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the
UpdateDevEndpointAPI with the public key content in thedeletePublicKeysattribute, and the list of new keys in theaddPublicKeysattribute.- Parameters:
publicKeys- A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the
UpdateDevEndpointAPI with the public key content in thedeletePublicKeysattribute, and the list of new keys in theaddPublicKeysattribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeys
CreateDevEndpointRequest.Builder publicKeys(String... publicKeys)
A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.
If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the
UpdateDevEndpointAPI with the public key content in thedeletePublicKeysattribute, and the list of new keys in theaddPublicKeysattribute.- Parameters:
publicKeys- A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the
UpdateDevEndpointAPI with the public key content in thedeletePublicKeysattribute, and the list of new keys in theaddPublicKeysattribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfNodes
CreateDevEndpointRequest.Builder numberOfNodes(Integer numberOfNodes)
The number of Glue Data Processing Units (DPUs) to allocate to this
DevEndpoint.- Parameters:
numberOfNodes- The number of Glue Data Processing Units (DPUs) to allocate to thisDevEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerType
CreateDevEndpointRequest.Builder workerType(String workerType)
The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.
-
For the
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. -
For the
G.2Xworker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
Known issue: when a development endpoint is created with the
G.2XWorkerTypeconfiguration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.- Parameters:
workerType- The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.-
For the
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. -
For the
G.2Xworker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
Known issue: when a development endpoint is created with the
G.2XWorkerTypeconfiguration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkerType,WorkerType
-
-
workerType
CreateDevEndpointRequest.Builder workerType(WorkerType workerType)
The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.
-
For the
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. -
For the
G.2Xworker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
Known issue: when a development endpoint is created with the
G.2XWorkerTypeconfiguration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.- Parameters:
workerType- The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.-
For the
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. -
For the
G.1Xworker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. -
For the
G.2Xworker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
Known issue: when a development endpoint is created with the
G.2XWorkerTypeconfiguration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkerType,WorkerType
-
-
glueVersion
CreateDevEndpointRequest.Builder glueVersion(String glueVersion)
Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Development endpoints that are created without specifying a Glue version default to Glue 0.9.
You can specify a version of Python support for development endpoints by using the
Argumentsparameter in theCreateDevEndpointorUpdateDevEndpointAPIs. If no arguments are provided, the version defaults to Python 2.- Parameters:
glueVersion- Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Development endpoints that are created without specifying a Glue version default to Glue 0.9.
You can specify a version of Python support for development endpoints by using the
Argumentsparameter in theCreateDevEndpointorUpdateDevEndpointAPIs. If no arguments are provided, the version defaults to Python 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfWorkers
CreateDevEndpointRequest.Builder numberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
workerTypethat are allocated to the development endpoint.The maximum number of workers you can define are 299 for
G.1X, and 149 forG.2X.- Parameters:
numberOfWorkers- The number of workers of a definedworkerTypethat are allocated to the development endpoint.The maximum number of workers you can define are 299 for
G.1X, and 149 forG.2X.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extraPythonLibsS3Path
CreateDevEndpointRequest.Builder extraPythonLibsS3Path(String extraPythonLibsS3Path)
The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your
DevEndpoint. Multiple values must be complete paths separated by a comma.You can only use pure Python libraries with a
DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not yet supported.- Parameters:
extraPythonLibsS3Path- The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in yourDevEndpoint. Multiple values must be complete paths separated by a comma.You can only use pure Python libraries with a
DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not yet supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extraJarsS3Path
CreateDevEndpointRequest.Builder extraJarsS3Path(String extraJarsS3Path)
The path to one or more Java
.jarfiles in an S3 bucket that should be loaded in yourDevEndpoint.- Parameters:
extraJarsS3Path- The path to one or more Java.jarfiles in an S3 bucket that should be loaded in yourDevEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfiguration
CreateDevEndpointRequest.Builder securityConfiguration(String securityConfiguration)
The name of the
SecurityConfigurationstructure to be used with thisDevEndpoint.- Parameters:
securityConfiguration- The name of theSecurityConfigurationstructure to be used with thisDevEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDevEndpointRequest.Builder tags(Map<String,String> tags)
The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
- Parameters:
tags- The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arguments
CreateDevEndpointRequest.Builder arguments(Map<String,String> arguments)
A map of arguments used to configure the
DevEndpoint.- Parameters:
arguments- A map of arguments used to configure theDevEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDevEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDevEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-