Class DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfigbuild()Builds the configured instance.DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig.Builderpolicy(String policy)
-
-
-
Method Detail
-
policy
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig.Builder policy(String policy)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig.getPolicy()- Parameters:
policy- Optional. The autoscaling policy used by the cluster. Only resource names including projectid and location (region) are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]` * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]` Note that the policy must be in the same project and Dataproc region. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#policy DataprocWorkflowTemplate#policy}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfigAutoscalingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-