Class DataprocWorkflowTemplateJobsPrestoJob.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplateJobsPrestoJob.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplateJobsPrestoJob>
- Enclosing interface:
- DataprocWorkflowTemplateJobsPrestoJob
@Stability(Stable) public static final class DataprocWorkflowTemplateJobsPrestoJob.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplateJobsPrestoJob>
A builder forDataprocWorkflowTemplateJobsPrestoJob
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
clientTags
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob.Builder clientTags(List<String> clientTags)
Sets the value ofDataprocWorkflowTemplateJobsPrestoJob.getClientTags()- Parameters:
clientTags- Optional. Presto client tags to attach to this query. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#client_tags DataprocWorkflowTemplate#client_tags}- Returns:
this
-
continueOnFailure
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob.Builder continueOnFailure(Boolean continueOnFailure)
Sets the value ofDataprocWorkflowTemplateJobsPrestoJob.getContinueOnFailure()- Parameters:
continueOnFailure- Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#continue_on_failure DataprocWorkflowTemplate#continue_on_failure}- Returns:
this
-
continueOnFailure
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob.Builder continueOnFailure(com.hashicorp.cdktf.IResolvable continueOnFailure)
Sets the value ofDataprocWorkflowTemplateJobsPrestoJob.getContinueOnFailure()- Parameters:
continueOnFailure- Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#continue_on_failure DataprocWorkflowTemplate#continue_on_failure}- Returns:
this
-
loggingConfig
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob.Builder loggingConfig(DataprocWorkflowTemplateJobsPrestoJobLoggingConfig loggingConfig)
Sets the value ofDataprocWorkflowTemplateJobsPrestoJob.getLoggingConfig()- Parameters:
loggingConfig- logging_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#logging_config DataprocWorkflowTemplate#logging_config}- Returns:
this
-
outputFormat
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob.Builder outputFormat(String outputFormat)
Sets the value ofDataprocWorkflowTemplateJobsPrestoJob.getOutputFormat()- Parameters:
outputFormat- Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#output_format DataprocWorkflowTemplate#output_format}- Returns:
this
-
properties
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob.Builder properties(Map<String,String> properties)
Sets the value ofDataprocWorkflowTemplateJobsPrestoJob.getProperties()- Parameters:
properties- Optional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#properties DataprocWorkflowTemplate#properties}- Returns:
this
-
queryFileUri
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob.Builder queryFileUri(String queryFileUri)
Sets the value ofDataprocWorkflowTemplateJobsPrestoJob.getQueryFileUri()- Parameters:
queryFileUri- The HCFS URI of the script that contains SQL queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#query_file_uri DataprocWorkflowTemplate#query_file_uri}- Returns:
this
-
queryList
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob.Builder queryList(DataprocWorkflowTemplateJobsPrestoJobQueryListStruct queryList)
Sets the value ofDataprocWorkflowTemplateJobsPrestoJob.getQueryList()- Parameters:
queryList- query_list block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#query_list DataprocWorkflowTemplate#query_list}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplateJobsPrestoJob build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplateJobsPrestoJob>- Returns:
- a new instance of
DataprocWorkflowTemplateJobsPrestoJob - Throws:
NullPointerException- if any required attribute was not provided
-
-