// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.gcp.dataproc.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class WorkflowTemplateJobHiveJobQueryList {
    /**
     * @return Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: &#34;hiveJob&#34;: { &#34;queryList&#34;: { &#34;queries&#34;: } }
     * 
     */
    private List<String> queries;

    private WorkflowTemplateJobHiveJobQueryList() {}
    /**
     * @return Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: &#34;hiveJob&#34;: { &#34;queryList&#34;: { &#34;queries&#34;: } }
     * 
     */
    public List<String> queries() {
        return this.queries;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(WorkflowTemplateJobHiveJobQueryList defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> queries;
        public Builder() {}
        public Builder(WorkflowTemplateJobHiveJobQueryList defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.queries = defaults.queries;
        }

        @CustomType.Setter
        public Builder queries(List<String> queries) {
            this.queries = Objects.requireNonNull(queries);
            return this;
        }
        public Builder queries(String... queries) {
            return queries(List.of(queries));
        }
        public WorkflowTemplateJobHiveJobQueryList build() {
            final var o = new WorkflowTemplateJobHiveJobQueryList();
            o.queries = queries;
            return o;
        }
    }
}
