Class CfnConnection.SparkGluePropertiesInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnConnection.SparkGluePropertiesInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.SparkGluePropertiesInputProperty>
- Enclosing interface:
CfnConnection.SparkGluePropertiesInputProperty
@Stability(Stable)
public static final class CfnConnection.SparkGluePropertiesInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.SparkGluePropertiesInputProperty>
A builder for
CfnConnection.SparkGluePropertiesInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalArgs(IResolvable additionalArgs) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getAdditionalArgs()additionalArgs(CfnConnection.SparkGlueArgsProperty additionalArgs) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getAdditionalArgs()build()Builds the configured instance.glueConnectionName(String glueConnectionName) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getGlueConnectionName()glueVersion(String glueVersion) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getGlueVersion()idleTimeout(Number idleTimeout) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getIdleTimeout()javaVirtualEnv(String javaVirtualEnv) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getJavaVirtualEnv()numberOfWorkers(Number numberOfWorkers) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getNumberOfWorkers()pythonVirtualEnv(String pythonVirtualEnv) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getPythonVirtualEnv()workerType(String workerType) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getWorkerType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalArgs
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder additionalArgs(IResolvable additionalArgs) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getAdditionalArgs()- Parameters:
additionalArgs- The additional args in the Spark AWS Glue properties.- Returns:
this
-
additionalArgs
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder additionalArgs(CfnConnection.SparkGlueArgsProperty additionalArgs) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getAdditionalArgs()- Parameters:
additionalArgs- The additional args in the Spark AWS Glue properties.- Returns:
this
-
glueConnectionName
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder glueConnectionName(String glueConnectionName) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getGlueConnectionName()- Parameters:
glueConnectionName- The AWS Glue connection name in the Spark AWS Glue properties.- Returns:
this
-
glueVersion
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder glueVersion(String glueVersion) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getGlueVersion()- Parameters:
glueVersion- The AWS Glue version in the Spark AWS Glue properties.- Returns:
this
-
idleTimeout
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder idleTimeout(Number idleTimeout) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getIdleTimeout()- Parameters:
idleTimeout- The idle timeout in the Spark AWS Glue properties.- Returns:
this
-
javaVirtualEnv
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder javaVirtualEnv(String javaVirtualEnv) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getJavaVirtualEnv()- Parameters:
javaVirtualEnv- The Java virtual env in the Spark AWS Glue properties.- Returns:
this
-
numberOfWorkers
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder numberOfWorkers(Number numberOfWorkers) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getNumberOfWorkers()- Parameters:
numberOfWorkers- The number of workers in the Spark AWS Glue properties.- Returns:
this
-
pythonVirtualEnv
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder pythonVirtualEnv(String pythonVirtualEnv) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getPythonVirtualEnv()- Parameters:
pythonVirtualEnv- The Python virtual env in the Spark AWS Glue properties.- Returns:
this
-
workerType
@Stability(Stable) public CfnConnection.SparkGluePropertiesInputProperty.Builder workerType(String workerType) Sets the value ofCfnConnection.SparkGluePropertiesInputProperty.getWorkerType()- Parameters:
workerType- The worker type in the Spark AWS Glue properties.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection.SparkGluePropertiesInputProperty>- Returns:
- a new instance of
CfnConnection.SparkGluePropertiesInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-