Class DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.BuilderautoDeleteTime(String autoDeleteTime)DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.BuilderautoDeleteTtl(String autoDeleteTtl)DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfigbuild()Builds the configured instance.DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.BuilderidleDeleteTtl(String idleDeleteTtl)
-
-
-
Method Detail
-
autoDeleteTime
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.Builder autoDeleteTime(String autoDeleteTime)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.getAutoDeleteTime()- Parameters:
autoDeleteTime- Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#auto_delete_time DataprocWorkflowTemplate#auto_delete_time}- Returns:
this
-
autoDeleteTtl
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.Builder autoDeleteTtl(String autoDeleteTtl)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.getAutoDeleteTtl()- Parameters:
autoDeleteTtl- Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#auto_delete_ttl DataprocWorkflowTemplate#auto_delete_ttl}- Returns:
this
-
idleDeleteTtl
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.Builder idleDeleteTtl(String idleDeleteTtl)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig.getIdleDeleteTtl()- Parameters:
idleDeleteTtl- Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#idle_delete_ttl DataprocWorkflowTemplate#idle_delete_ttl}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfigLifecycleConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-