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

com.pulumi.azurenative.synapse.inputs.SparkConfigPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.synapse.inputs;

import com.pulumi.azurenative.synapse.enums.ConfigurationType;
import com.pulumi.core.Either;
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;


/**
 * SparkConfig Properties for a Big Data pool powered by Apache Spark
 * 
 */
public final class SparkConfigPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final SparkConfigPropertiesArgs Empty = new SparkConfigPropertiesArgs();

    /**
     * The type of the spark config properties file.
     * 
     */
    @Import(name="configurationType")
    private @Nullable Output> configurationType;

    /**
     * @return The type of the spark config properties file.
     * 
     */
    public Optional>> configurationType() {
        return Optional.ofNullable(this.configurationType);
    }

    /**
     * The spark config properties.
     * 
     */
    @Import(name="content")
    private @Nullable Output content;

    /**
     * @return The spark config properties.
     * 
     */
    public Optional> content() {
        return Optional.ofNullable(this.content);
    }

    /**
     * The filename of the spark config properties file.
     * 
     */
    @Import(name="filename")
    private @Nullable Output filename;

    /**
     * @return The filename of the spark config properties file.
     * 
     */
    public Optional> filename() {
        return Optional.ofNullable(this.filename);
    }

    private SparkConfigPropertiesArgs() {}

    private SparkConfigPropertiesArgs(SparkConfigPropertiesArgs $) {
        this.configurationType = $.configurationType;
        this.content = $.content;
        this.filename = $.filename;
    }

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

    public static final class Builder {
        private SparkConfigPropertiesArgs $;

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

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

        /**
         * @param configurationType The type of the spark config properties file.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(@Nullable Output> configurationType) {
            $.configurationType = configurationType;
            return this;
        }

        /**
         * @param configurationType The type of the spark config properties file.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(Either configurationType) {
            return configurationType(Output.of(configurationType));
        }

        /**
         * @param configurationType The type of the spark config properties file.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(String configurationType) {
            return configurationType(Either.ofLeft(configurationType));
        }

        /**
         * @param configurationType The type of the spark config properties file.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(ConfigurationType configurationType) {
            return configurationType(Either.ofRight(configurationType));
        }

        /**
         * @param content The spark config properties.
         * 
         * @return builder
         * 
         */
        public Builder content(@Nullable Output content) {
            $.content = content;
            return this;
        }

        /**
         * @param content The spark config properties.
         * 
         * @return builder
         * 
         */
        public Builder content(String content) {
            return content(Output.of(content));
        }

        /**
         * @param filename The filename of the spark config properties file.
         * 
         * @return builder
         * 
         */
        public Builder filename(@Nullable Output filename) {
            $.filename = filename;
            return this;
        }

        /**
         * @param filename The filename of the spark config properties file.
         * 
         * @return builder
         * 
         */
        public Builder filename(String filename) {
            return filename(Output.of(filename));
        }

        public SparkConfigPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy