Class DataprocClusterClusterConfigLifecycleConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_cluster.DataprocClusterClusterConfigLifecycleConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocClusterClusterConfigLifecycleConfig>
- Enclosing interface:
- DataprocClusterClusterConfigLifecycleConfig
@Stability(Stable) public static final class DataprocClusterClusterConfigLifecycleConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocClusterClusterConfigLifecycleConfig>
A builder forDataprocClusterClusterConfigLifecycleConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocClusterClusterConfigLifecycleConfig.BuilderautoDeleteTime(String autoDeleteTime)Sets the value ofDataprocClusterClusterConfigLifecycleConfig.getAutoDeleteTime()DataprocClusterClusterConfigLifecycleConfigbuild()Builds the configured instance.DataprocClusterClusterConfigLifecycleConfig.BuilderidleDeleteTtl(String idleDeleteTtl)Sets the value ofDataprocClusterClusterConfigLifecycleConfig.getIdleDeleteTtl()
-
-
-
Method Detail
-
autoDeleteTime
@Stability(Stable) public DataprocClusterClusterConfigLifecycleConfig.Builder autoDeleteTime(String autoDeleteTime)
Sets the value ofDataprocClusterClusterConfigLifecycleConfig.getAutoDeleteTime()- Parameters:
autoDeleteTime- The time when cluster will be auto-deleted. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#auto_delete_time DataprocCluster#auto_delete_time}- Returns:
this
-
idleDeleteTtl
@Stability(Stable) public DataprocClusterClusterConfigLifecycleConfig.Builder idleDeleteTtl(String idleDeleteTtl)
Sets the value ofDataprocClusterClusterConfigLifecycleConfig.getIdleDeleteTtl()- Parameters:
idleDeleteTtl- The duration to keep the cluster alive while idling (no jobs running). After this TTL, the cluster will be deleted. Valid range: [10m, 14d]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_cluster#idle_delete_ttl DataprocCluster#idle_delete_ttl}- Returns:
this
-
build
@Stability(Stable) public DataprocClusterClusterConfigLifecycleConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocClusterClusterConfigLifecycleConfig>- Returns:
- a new instance of
DataprocClusterClusterConfigLifecycleConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-