All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.emrcontainers.inputs.JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.aws.emrcontainers.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs extends com.pulumi.resources.ResourceArgs {

    public static final JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs Empty = new JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs();

    /**
     * The SQL file to be executed.
     * 
     */
    @Import(name="entryPoint")
    private @Nullable Output entryPoint;

    /**
     * @return The SQL file to be executed.
     * 
     */
    public Optional> entryPoint() {
        return Optional.ofNullable(this.entryPoint);
    }

    /**
     * The Spark parameters to be included in the Spark SQL command.
     * 
     */
    @Import(name="sparkSqlParameters")
    private @Nullable Output sparkSqlParameters;

    /**
     * @return The Spark parameters to be included in the Spark SQL command.
     * 
     */
    public Optional> sparkSqlParameters() {
        return Optional.ofNullable(this.sparkSqlParameters);
    }

    private JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs() {}

    private JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs(JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs $) {
        this.entryPoint = $.entryPoint;
        this.sparkSqlParameters = $.sparkSqlParameters;
    }

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

    public static final class Builder {
        private JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs $;

        public Builder() {
            $ = new JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs();
        }

        public Builder(JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs defaults) {
            $ = new JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param entryPoint The SQL file to be executed.
         * 
         * @return builder
         * 
         */
        public Builder entryPoint(@Nullable Output entryPoint) {
            $.entryPoint = entryPoint;
            return this;
        }

        /**
         * @param entryPoint The SQL file to be executed.
         * 
         * @return builder
         * 
         */
        public Builder entryPoint(String entryPoint) {
            return entryPoint(Output.of(entryPoint));
        }

        /**
         * @param sparkSqlParameters The Spark parameters to be included in the Spark SQL command.
         * 
         * @return builder
         * 
         */
        public Builder sparkSqlParameters(@Nullable Output sparkSqlParameters) {
            $.sparkSqlParameters = sparkSqlParameters;
            return this;
        }

        /**
         * @param sparkSqlParameters The Spark parameters to be included in the Spark SQL command.
         * 
         * @return builder
         * 
         */
        public Builder sparkSqlParameters(String sparkSqlParameters) {
            return sparkSqlParameters(Output.of(sparkSqlParameters));
        }

        public JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy