/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.glue.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A development endpoint where a developer can remotely debug extract, transform, and load (ETL) scripts. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DevEndpoint implements Serializable, Cloneable, StructuredPojo { /** *
* The name of the DevEndpoint
.
*
* The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint
.
*
* A list of security group identifiers used in this DevEndpoint
.
*
* The subnet ID for this DevEndpoint
.
*
* The YARN endpoint address used by this DevEndpoint
.
*
* A private IP address to access the DevEndpoint
within a VPC if the DevEndpoint
is
* created within one. The PrivateAddress
field is present only when you create the
* DevEndpoint
within your VPC.
*
* The Apache Zeppelin port for the remote Apache Spark interpreter. *
*/ private Integer zeppelinRemoteSparkInterpreterPort; /** *
* The public IP address used by this DevEndpoint
. The PublicAddress
field is present only
* when you create a non-virtual private cloud (VPC) DevEndpoint
.
*
* The current status of this DevEndpoint
.
*
* 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.
*
* 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 Arguments
* parameter in the CreateDevEndpoint
or UpdateDevEndpoint
APIs. If no arguments are
* provided, the version defaults to Python 2.
*
* 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
.
*
* The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint
.
*
* The Amazon Web Services Availability Zone where this DevEndpoint
is located.
*
* The ID of the virtual private cloud (VPC) used by this DevEndpoint
.
*
* 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 currently supported.
*
* The path to one or more Java .jar
files in an S3 bucket that should be loaded in your
* DevEndpoint
.
*
* You can only use pure Java/Scala libraries with a DevEndpoint
.
*
* The reason for a current failure in this DevEndpoint
.
*
* The status of the last update. *
*/ private String lastUpdateStatus; /** ** The point in time at which this DevEndpoint was created. *
*/ private java.util.Date createdTimestamp; /** *
* The point in time at which this DevEndpoint
was last modified.
*
* 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.
*
* A list of public keys to be used by the DevEndpoints
for authentication. Using 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 operation with the public key content in the
* deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
attribute.
*
* The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
*
* A map of arguments used to configure the DevEndpoint
.
*
* Valid arguments are: *
*
* "--enable-glue-datacatalog": ""
*
* 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.
*
* The name of the DevEndpoint
.
*
DevEndpoint
.
*/
public void setEndpointName(String endpointName) {
this.endpointName = endpointName;
}
/**
*
* The name of the DevEndpoint
.
*
DevEndpoint
.
*/
public String getEndpointName() {
return this.endpointName;
}
/**
*
* The name of the DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withEndpointName(String endpointName) {
setEndpointName(endpointName);
return this;
}
/**
*
* The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint
.
*
DevEndpoint
.
*/
public void setRoleArn(String roleArn) {
this.roleArn = roleArn;
}
/**
*
* The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint
.
*
DevEndpoint
.
*/
public String getRoleArn() {
return this.roleArn;
}
/**
*
* The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withRoleArn(String roleArn) {
setRoleArn(roleArn);
return this;
}
/**
*
* A list of security group identifiers used in this DevEndpoint
.
*
DevEndpoint
.
*/
public java.util.List
* A list of security group identifiers used in this DevEndpoint
.
*
DevEndpoint
.
*/
public void setSecurityGroupIds(java.util.Collection
* A list of security group identifiers used in this DevEndpoint
.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSecurityGroupIds(java.util.Collection)} or {@link #withSecurityGroupIds(java.util.Collection)} if you * want to override the existing values. *
* * @param securityGroupIds * A list of security group identifiers used in thisDevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withSecurityGroupIds(String... securityGroupIds) {
if (this.securityGroupIds == null) {
setSecurityGroupIds(new java.util.ArrayList
* A list of security group identifiers used in this DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withSecurityGroupIds(java.util.Collection
* The subnet ID for this DevEndpoint
.
*
DevEndpoint
.
*/
public void setSubnetId(String subnetId) {
this.subnetId = subnetId;
}
/**
*
* The subnet ID for this DevEndpoint
.
*
DevEndpoint
.
*/
public String getSubnetId() {
return this.subnetId;
}
/**
*
* The subnet ID for this DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withSubnetId(String subnetId) {
setSubnetId(subnetId);
return this;
}
/**
*
* The YARN endpoint address used by this DevEndpoint
.
*
DevEndpoint
.
*/
public void setYarnEndpointAddress(String yarnEndpointAddress) {
this.yarnEndpointAddress = yarnEndpointAddress;
}
/**
*
* The YARN endpoint address used by this DevEndpoint
.
*
DevEndpoint
.
*/
public String getYarnEndpointAddress() {
return this.yarnEndpointAddress;
}
/**
*
* The YARN endpoint address used by this DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withYarnEndpointAddress(String yarnEndpointAddress) {
setYarnEndpointAddress(yarnEndpointAddress);
return this;
}
/**
*
* A private IP address to access the DevEndpoint
within a VPC if the DevEndpoint
is
* created within one. The PrivateAddress
field is present only when you create the
* DevEndpoint
within your VPC.
*
DevEndpoint
within a VPC if the DevEndpoint
* is created within one. The PrivateAddress
field is present only when you create the
* DevEndpoint
within your VPC.
*/
public void setPrivateAddress(String privateAddress) {
this.privateAddress = privateAddress;
}
/**
*
* A private IP address to access the DevEndpoint
within a VPC if the DevEndpoint
is
* created within one. The PrivateAddress
field is present only when you create the
* DevEndpoint
within your VPC.
*
DevEndpoint
within a VPC if the DevEndpoint
* is created within one. The PrivateAddress
field is present only when you create the
* DevEndpoint
within your VPC.
*/
public String getPrivateAddress() {
return this.privateAddress;
}
/**
*
* A private IP address to access the DevEndpoint
within a VPC if the DevEndpoint
is
* created within one. The PrivateAddress
field is present only when you create the
* DevEndpoint
within your VPC.
*
DevEndpoint
within a VPC if the DevEndpoint
* is created within one. The PrivateAddress
field is present only when you create the
* DevEndpoint
within your VPC.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withPrivateAddress(String privateAddress) {
setPrivateAddress(privateAddress);
return this;
}
/**
* * The Apache Zeppelin port for the remote Apache Spark interpreter. *
* * @param zeppelinRemoteSparkInterpreterPort * The Apache Zeppelin port for the remote Apache Spark interpreter. */ public void setZeppelinRemoteSparkInterpreterPort(Integer zeppelinRemoteSparkInterpreterPort) { this.zeppelinRemoteSparkInterpreterPort = zeppelinRemoteSparkInterpreterPort; } /** ** The Apache Zeppelin port for the remote Apache Spark interpreter. *
* * @return The Apache Zeppelin port for the remote Apache Spark interpreter. */ public Integer getZeppelinRemoteSparkInterpreterPort() { return this.zeppelinRemoteSparkInterpreterPort; } /** ** The Apache Zeppelin port for the remote Apache Spark interpreter. *
* * @param zeppelinRemoteSparkInterpreterPort * The Apache Zeppelin port for the remote Apache Spark interpreter. * @return Returns a reference to this object so that method calls can be chained together. */ public DevEndpoint withZeppelinRemoteSparkInterpreterPort(Integer zeppelinRemoteSparkInterpreterPort) { setZeppelinRemoteSparkInterpreterPort(zeppelinRemoteSparkInterpreterPort); return this; } /** *
* The public IP address used by this DevEndpoint
. The PublicAddress
field is present only
* when you create a non-virtual private cloud (VPC) DevEndpoint
.
*
DevEndpoint
. The PublicAddress
field is
* present only when you create a non-virtual private cloud (VPC) DevEndpoint
.
*/
public void setPublicAddress(String publicAddress) {
this.publicAddress = publicAddress;
}
/**
*
* The public IP address used by this DevEndpoint
. The PublicAddress
field is present only
* when you create a non-virtual private cloud (VPC) DevEndpoint
.
*
DevEndpoint
. The PublicAddress
field is
* present only when you create a non-virtual private cloud (VPC) DevEndpoint
.
*/
public String getPublicAddress() {
return this.publicAddress;
}
/**
*
* The public IP address used by this DevEndpoint
. The PublicAddress
field is present only
* when you create a non-virtual private cloud (VPC) DevEndpoint
.
*
DevEndpoint
. The PublicAddress
field is
* present only when you create a non-virtual private cloud (VPC) DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withPublicAddress(String publicAddress) {
setPublicAddress(publicAddress);
return this;
}
/**
*
* The current status of this DevEndpoint
.
*
DevEndpoint
.
*/
public void setStatus(String status) {
this.status = status;
}
/**
*
* The current status of this DevEndpoint
.
*
DevEndpoint
.
*/
public String getStatus() {
return this.status;
}
/**
*
* The current status of this DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withStatus(String status) {
setStatus(status);
return this;
}
/**
* * 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.
*
* 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.
* @see WorkerType
*/
public void setWorkerType(String workerType) {
this.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.
*
* 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.
* @see WorkerType
*/
public String getWorkerType() {
return this.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.
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
* @see WorkerType
*/
public DevEndpoint withWorkerType(String workerType) {
setWorkerType(workerType);
return this;
}
/**
*
* 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.
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
* @see WorkerType
*/
public DevEndpoint withWorkerType(WorkerType workerType) {
this.workerType = workerType.toString();
return this;
}
/**
*
* 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 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 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 void setGlueVersion(String glueVersion) {
this.glueVersion = 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 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 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 String getGlueVersion() {
return this.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 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 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withGlueVersion(String glueVersion) {
setGlueVersion(glueVersion);
return this;
}
/**
*
* 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 void setNumberOfWorkers(Integer numberOfWorkers) {
this.numberOfWorkers = 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 Integer getNumberOfWorkers() {
return this.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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withNumberOfWorkers(Integer numberOfWorkers) {
setNumberOfWorkers(numberOfWorkers);
return this;
}
/**
*
* The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint
.
*
DevEndpoint
.
*/
public void setNumberOfNodes(Integer numberOfNodes) {
this.numberOfNodes = numberOfNodes;
}
/**
*
* The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint
.
*
DevEndpoint
.
*/
public Integer getNumberOfNodes() {
return this.numberOfNodes;
}
/**
*
* The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withNumberOfNodes(Integer numberOfNodes) {
setNumberOfNodes(numberOfNodes);
return this;
}
/**
*
* The Amazon Web Services Availability Zone where this DevEndpoint
is located.
*
DevEndpoint
is located.
*/
public void setAvailabilityZone(String availabilityZone) {
this.availabilityZone = availabilityZone;
}
/**
*
* The Amazon Web Services Availability Zone where this DevEndpoint
is located.
*
DevEndpoint
is located.
*/
public String getAvailabilityZone() {
return this.availabilityZone;
}
/**
*
* The Amazon Web Services Availability Zone where this DevEndpoint
is located.
*
DevEndpoint
is located.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withAvailabilityZone(String availabilityZone) {
setAvailabilityZone(availabilityZone);
return this;
}
/**
*
* The ID of the virtual private cloud (VPC) used by this DevEndpoint
.
*
DevEndpoint
.
*/
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}
/**
*
* The ID of the virtual private cloud (VPC) used by this DevEndpoint
.
*
DevEndpoint
.
*/
public String getVpcId() {
return this.vpcId;
}
/**
*
* The ID of the virtual private cloud (VPC) used by this DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withVpcId(String vpcId) {
setVpcId(vpcId);
return this;
}
/**
*
* 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 currently 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 currently supported.
*
* 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 currently 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 currently supported.
*
* 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 currently 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 currently supported.
*
* The path to one or more Java .jar
files in an S3 bucket that should be loaded in your
* DevEndpoint
.
*
* You can only use pure Java/Scala libraries with a DevEndpoint
.
*
.jar
files in an S3 bucket that should be loaded in your
* DevEndpoint
.
* You can only use pure Java/Scala libraries with a DevEndpoint
.
*
* The path to one or more Java .jar
files in an S3 bucket that should be loaded in your
* DevEndpoint
.
*
* You can only use pure Java/Scala libraries with a DevEndpoint
.
*
.jar
files in an S3 bucket that should be loaded in your
* DevEndpoint
.
* You can only use pure Java/Scala libraries with a DevEndpoint
.
*
* The path to one or more Java .jar
files in an S3 bucket that should be loaded in your
* DevEndpoint
.
*
* You can only use pure Java/Scala libraries with a DevEndpoint
.
*
.jar
files in an S3 bucket that should be loaded in your
* DevEndpoint
.
* You can only use pure Java/Scala libraries with a DevEndpoint
.
*
* The reason for a current failure in this DevEndpoint
.
*
DevEndpoint
.
*/
public void setFailureReason(String failureReason) {
this.failureReason = failureReason;
}
/**
*
* The reason for a current failure in this DevEndpoint
.
*
DevEndpoint
.
*/
public String getFailureReason() {
return this.failureReason;
}
/**
*
* The reason for a current failure in this DevEndpoint
.
*
DevEndpoint
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withFailureReason(String failureReason) {
setFailureReason(failureReason);
return this;
}
/**
* * The status of the last update. *
* * @param lastUpdateStatus * The status of the last update. */ public void setLastUpdateStatus(String lastUpdateStatus) { this.lastUpdateStatus = lastUpdateStatus; } /** ** The status of the last update. *
* * @return The status of the last update. */ public String getLastUpdateStatus() { return this.lastUpdateStatus; } /** ** The status of the last update. *
* * @param lastUpdateStatus * The status of the last update. * @return Returns a reference to this object so that method calls can be chained together. */ public DevEndpoint withLastUpdateStatus(String lastUpdateStatus) { setLastUpdateStatus(lastUpdateStatus); return this; } /** ** The point in time at which this DevEndpoint was created. *
* * @param createdTimestamp * The point in time at which this DevEndpoint was created. */ public void setCreatedTimestamp(java.util.Date createdTimestamp) { this.createdTimestamp = createdTimestamp; } /** ** The point in time at which this DevEndpoint was created. *
* * @return The point in time at which this DevEndpoint was created. */ public java.util.Date getCreatedTimestamp() { return this.createdTimestamp; } /** ** The point in time at which this DevEndpoint was created. *
* * @param createdTimestamp * The point in time at which this DevEndpoint was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DevEndpoint withCreatedTimestamp(java.util.Date createdTimestamp) { setCreatedTimestamp(createdTimestamp); return this; } /** *
* The point in time at which this DevEndpoint
was last modified.
*
DevEndpoint
was last modified.
*/
public void setLastModifiedTimestamp(java.util.Date lastModifiedTimestamp) {
this.lastModifiedTimestamp = lastModifiedTimestamp;
}
/**
*
* The point in time at which this DevEndpoint
was last modified.
*
DevEndpoint
was last modified.
*/
public java.util.Date getLastModifiedTimestamp() {
return this.lastModifiedTimestamp;
}
/**
*
* The point in time at which this DevEndpoint
was last modified.
*
DevEndpoint
was last modified.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withLastModifiedTimestamp(java.util.Date lastModifiedTimestamp) {
setLastModifiedTimestamp(lastModifiedTimestamp);
return this;
}
/**
*
* 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 void setPublicKey(String publicKey) {
this.publicKey = 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 String getPublicKey() {
return this.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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withPublicKey(String publicKey) {
setPublicKey(publicKey);
return this;
}
/**
*
* A list of public keys to be used by the DevEndpoints
for authentication. Using 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 operation with the public key content in the
* deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
attribute.
*
DevEndpoints
for authentication. Using 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 operation with the public key content in
* the deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
* attribute.
*
* A list of public keys to be used by the DevEndpoints
for authentication. Using 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 operation with the public key content in the
* deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
attribute.
*
DevEndpoints
for authentication. Using 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 operation with the public key content in the
* deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
* attribute.
*
* A list of public keys to be used by the DevEndpoints
for authentication. Using 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 operation with the public key content in the
* deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
attribute.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setPublicKeys(java.util.Collection)} or {@link #withPublicKeys(java.util.Collection)} if you want to * override the existing values. *
* * @param publicKeys * A list of public keys to be used by theDevEndpoints
for authentication. Using 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 operation with the public key content in the
* deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
* attribute.
*
* A list of public keys to be used by the DevEndpoints
for authentication. Using 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 operation with the public key content in the
* deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
attribute.
*
DevEndpoints
for authentication. Using 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 operation with the public key content in the
* deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
* attribute.
*
* The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
*
SecurityConfiguration
structure to be used with this DevEndpoint
* .
*/
public void setSecurityConfiguration(String securityConfiguration) {
this.securityConfiguration = securityConfiguration;
}
/**
*
* The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
*
SecurityConfiguration
structure to be used with this
* DevEndpoint
.
*/
public String getSecurityConfiguration() {
return this.securityConfiguration;
}
/**
*
* The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
*
SecurityConfiguration
structure to be used with this DevEndpoint
* .
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withSecurityConfiguration(String securityConfiguration) {
setSecurityConfiguration(securityConfiguration);
return this;
}
/**
*
* A map of arguments used to configure the DevEndpoint
.
*
* Valid arguments are: *
*
* "--enable-glue-datacatalog": ""
*
* 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.
*
DevEndpoint
.
* * Valid arguments are: *
*
* "--enable-glue-datacatalog": ""
*
* You can specify a version of Python support for development endpoints by using the
* A map of arguments used to configure the
* Valid arguments are:
*
*
* 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 java.util.MapDevEndpoint
.
*
*
* "--enable-glue-datacatalog": ""
* Arguments
* parameter in the CreateDevEndpoint
or UpdateDevEndpoint
APIs. If no arguments are
* provided, the version defaults to Python 2.
* DevEndpoint
.
* Valid arguments are: *
*
* "--enable-glue-datacatalog": ""
*
* You can specify a version of Python support for development endpoints by using the
* A map of arguments used to configure the
* Valid arguments are:
*
*
* 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 void setArguments(java.util.MapDevEndpoint
.
*
*
* "--enable-glue-datacatalog": ""
* Arguments
* parameter in the CreateDevEndpoint
or UpdateDevEndpoint
APIs. If no arguments are
* provided, the version defaults to Python 2.
* DevEndpoint
.
* Valid arguments are: *
*
* "--enable-glue-datacatalog": ""
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DevEndpoint withArguments(java.util.Map