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