Class DataprocWorkflowTemplateJobsScheduling.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplateJobsScheduling.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplateJobsScheduling>
- Enclosing interface:
- DataprocWorkflowTemplateJobsScheduling
@Stability(Stable) public static final class DataprocWorkflowTemplateJobsScheduling.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplateJobsScheduling>
A builder forDataprocWorkflowTemplateJobsScheduling
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocWorkflowTemplateJobsSchedulingbuild()Builds the configured instance.DataprocWorkflowTemplateJobsScheduling.BuildermaxFailuresPerHour(Number maxFailuresPerHour)Sets the value ofDataprocWorkflowTemplateJobsScheduling.getMaxFailuresPerHour()DataprocWorkflowTemplateJobsScheduling.BuildermaxFailuresTotal(Number maxFailuresTotal)Sets the value ofDataprocWorkflowTemplateJobsScheduling.getMaxFailuresTotal()
-
-
-
Method Detail
-
maxFailuresPerHour
@Stability(Stable) public DataprocWorkflowTemplateJobsScheduling.Builder maxFailuresPerHour(Number maxFailuresPerHour)
Sets the value ofDataprocWorkflowTemplateJobsScheduling.getMaxFailuresPerHour()- Parameters:
maxFailuresPerHour- Optional. 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. A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window. Maximum value is 10. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#max_failures_per_hour DataprocWorkflowTemplate#max_failures_per_hour}- Returns:
this
-
maxFailuresTotal
@Stability(Stable) public DataprocWorkflowTemplateJobsScheduling.Builder maxFailuresTotal(Number maxFailuresTotal)
Sets the value ofDataprocWorkflowTemplateJobsScheduling.getMaxFailuresTotal()- Parameters:
maxFailuresTotal- Optional. 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. Maximum value is 240. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#max_failures_total DataprocWorkflowTemplate#max_failures_total}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplateJobsScheduling build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplateJobsScheduling>- Returns:
- a new instance of
DataprocWorkflowTemplateJobsScheduling - Throws:
NullPointerException- if any required attribute was not provided
-
-