@Generated(value="software.amazon.awssdk:codegen") public final class CreateDevEndpointRequest extends GlueRequest implements ToCopyableBuilder<CreateDevEndpointRequest.Builder,CreateDevEndpointRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDevEndpointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
arguments()
A map of arguments used to configure the
DevEndpoint. |
static CreateDevEndpointRequest.Builder |
builder() |
String |
endpointName()
The name to be assigned to the new
DevEndpoint. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
extraJarsS3Path()
The path to one or more Java
.jar files in an S3 bucket that should be loaded in your
DevEndpoint. |
String |
extraPythonLibsS3Path()
The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your
DevEndpoint. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
glueVersion()
Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
|
boolean |
hasArguments()
Returns true if the Arguments property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasPublicKeys()
Returns true if the PublicKeys property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasSecurityGroupIds()
Returns true if the SecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Integer |
numberOfNodes()
The number of AWS Glue Data Processing Units (DPUs) to allocate to this
DevEndpoint. |
Integer |
numberOfWorkers()
The number of workers of a defined
workerType that are allocated to the development endpoint. |
String |
publicKey()
The public key to be used by this
DevEndpoint for authentication. |
List<String> |
publicKeys()
A list of public keys to be used by the development endpoints for authentication.
|
String |
roleArn()
The IAM role for the
DevEndpoint. |
List<SdkField<?>> |
sdkFields() |
String |
securityConfiguration()
The name of the
SecurityConfiguration structure to be used with this DevEndpoint. |
List<String> |
securityGroupIds()
Security group IDs for the security groups to be used by the new
DevEndpoint. |
static Class<? extends CreateDevEndpointRequest.Builder> |
serializableBuilderClass() |
String |
subnetId()
The subnet ID for the new
DevEndpoint to use. |
Map<String,String> |
tags()
The tags to use with this DevEndpoint.
|
CreateDevEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WorkerType |
workerType()
The type of predefined worker that is allocated to the development endpoint.
|
String |
workerTypeAsString()
The type of predefined worker that is allocated to the development endpoint.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String endpointName()
The name to be assigned to the new DevEndpoint.
DevEndpoint.public String roleArn()
The IAM role for the DevEndpoint.
DevEndpoint.public boolean hasSecurityGroupIds()
public List<String> securityGroupIds()
Security group IDs for the security groups to be used by the new DevEndpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroupIds() to see if a value was sent in this field.
DevEndpoint.public String subnetId()
The subnet ID for the new DevEndpoint to use.
DevEndpoint to use.public String publicKey()
The public key to be used by this DevEndpoint for authentication. This attribute is provided for
backward compatibility because the recommended attribute to use is public keys.
DevEndpoint for authentication. This attribute is provided
for backward compatibility because the recommended attribute to use is public keys.public boolean hasPublicKeys()
public List<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 UpdateDevEndpoint API with the public key content in the
deletePublicKeys attribute, and the list of new keys in the addPublicKeys attribute.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPublicKeys() to see if a value was sent in this field.
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 UpdateDevEndpoint API with the public key content in the
deletePublicKeys attribute, and the list of new keys in the addPublicKeys
attribute.
public Integer numberOfNodes()
The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint.
DevEndpoint.public 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 Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
executors per worker.
For the G.1X worker 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.2X worker 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.2X WorkerType
configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB
disk.
If the service returns an enum value that is not available in the current SDK version, workerType will
return WorkerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
workerTypeAsString().
For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk,
and 2 executors per worker.
For the G.1X worker 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.2X worker 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.2X WorkerType
configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a
64 GB disk.
WorkerTypepublic String workerTypeAsString()
The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.
For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
executors per worker.
For the G.1X worker 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.2X worker 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.2X WorkerType
configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB
disk.
If the service returns an enum value that is not available in the current SDK version, workerType will
return WorkerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
workerTypeAsString().
For the Standard worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk,
and 2 executors per worker.
For the G.1X worker 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.2X worker 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.2X WorkerType
configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a
64 GB disk.
WorkerTypepublic String glueVersion()
Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.
For more information about the available AWS 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 Arguments
parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are
provided, the version defaults to Python 2.
For more information about the available AWS 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 Arguments
parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments
are provided, the version defaults to Python 2.
public Integer numberOfWorkers()
The number of workers of a defined workerType that are allocated to the development endpoint.
The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X.
workerType that are allocated to the development
endpoint.
The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X.
public 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.
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.
public String extraJarsS3Path()
The path to one or more Java .jar files in an S3 bucket that should be loaded in your
DevEndpoint.
.jar files in an S3 bucket that should be loaded in your
DevEndpoint.public String securityConfiguration()
The name of the SecurityConfiguration structure to be used with this DevEndpoint.
SecurityConfiguration structure to be used with this
DevEndpoint.public boolean hasTags()
public 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 AWS Glue, see AWS Tags in AWS Glue in the developer guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public boolean hasArguments()
public Map<String,String> arguments()
A map of arguments used to configure the DevEndpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasArguments() to see if a value was sent in this field.
DevEndpoint.public CreateDevEndpointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDevEndpointRequest.Builder,CreateDevEndpointRequest>toBuilder in class GlueRequestpublic static CreateDevEndpointRequest.Builder builder()
public static Class<? extends CreateDevEndpointRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.