Class DataplexTaskSparkInfrastructureSpecBatch.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_task.DataplexTaskSparkInfrastructureSpecBatch.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexTaskSparkInfrastructureSpecBatch>
- Enclosing interface:
- DataplexTaskSparkInfrastructureSpecBatch
@Stability(Stable) public static final class DataplexTaskSparkInfrastructureSpecBatch.Builder extends Object implements software.amazon.jsii.Builder<DataplexTaskSparkInfrastructureSpecBatch>
A builder forDataplexTaskSparkInfrastructureSpecBatch
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataplexTaskSparkInfrastructureSpecBatchbuild()Builds the configured instance.DataplexTaskSparkInfrastructureSpecBatch.BuilderexecutorsCount(Number executorsCount)Sets the value ofDataplexTaskSparkInfrastructureSpecBatch.getExecutorsCount()DataplexTaskSparkInfrastructureSpecBatch.BuildermaxExecutorsCount(Number maxExecutorsCount)Sets the value ofDataplexTaskSparkInfrastructureSpecBatch.getMaxExecutorsCount()
-
-
-
Method Detail
-
executorsCount
@Stability(Stable) public DataplexTaskSparkInfrastructureSpecBatch.Builder executorsCount(Number executorsCount)
Sets the value ofDataplexTaskSparkInfrastructureSpecBatch.getExecutorsCount()- Parameters:
executorsCount- Total number of job executors. Executor Count should be between 2 and 100. [Default=2]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#executors_count DataplexTask#executors_count}- Returns:
this
-
maxExecutorsCount
@Stability(Stable) public DataplexTaskSparkInfrastructureSpecBatch.Builder maxExecutorsCount(Number maxExecutorsCount)
Sets the value ofDataplexTaskSparkInfrastructureSpecBatch.getMaxExecutorsCount()- Parameters:
maxExecutorsCount- Max configurable executors. If maxExecutorsCount > executorsCount, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. [Default=1000] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#max_executors_count DataplexTask#max_executors_count}- Returns:
this
-
build
@Stability(Stable) public DataplexTaskSparkInfrastructureSpecBatch build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexTaskSparkInfrastructureSpecBatch>- Returns:
- a new instance of
DataplexTaskSparkInfrastructureSpecBatch - Throws:
NullPointerException- if any required attribute was not provided
-
-