Class DataprocJobScheduling.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_job.DataprocJobScheduling.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocJobScheduling>
- Enclosing interface:
- DataprocJobScheduling
@Stability(Stable) public static final class DataprocJobScheduling.Builder extends Object implements software.amazon.jsii.Builder<DataprocJobScheduling>
A builder forDataprocJobScheduling
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocJobSchedulingbuild()Builds the configured instance.DataprocJobScheduling.BuildermaxFailuresPerHour(Number maxFailuresPerHour)Sets the value ofDataprocJobScheduling.getMaxFailuresPerHour()DataprocJobScheduling.BuildermaxFailuresTotal(Number maxFailuresTotal)Sets the value ofDataprocJobScheduling.getMaxFailuresTotal()
-
-
-
Method Detail
-
maxFailuresPerHour
@Stability(Stable) public DataprocJobScheduling.Builder maxFailuresPerHour(Number maxFailuresPerHour)
Sets the value ofDataprocJobScheduling.getMaxFailuresPerHour()- Parameters:
maxFailuresPerHour- Maximum number of times per hour a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_job#max_failures_per_hour DataprocJob#max_failures_per_hour}- Returns:
this
-
maxFailuresTotal
@Stability(Stable) public DataprocJobScheduling.Builder maxFailuresTotal(Number maxFailuresTotal)
Sets the value ofDataprocJobScheduling.getMaxFailuresTotal()- Parameters:
maxFailuresTotal- Maximum number of times in total a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_job#max_failures_total DataprocJob#max_failures_total}- Returns:
this
-
build
@Stability(Stable) public DataprocJobScheduling build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocJobScheduling>- Returns:
- a new instance of
DataprocJobScheduling - Throws:
NullPointerException- if any required attribute was not provided
-
-