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

com.pulumi.azurenative.streamanalytics.inputs.FileReferenceInputDataSourceArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.streamanalytics.inputs;

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


/**
 * Describes a file input data source that contains reference data.
 * 
 */
public final class FileReferenceInputDataSourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final FileReferenceInputDataSourceArgs Empty = new FileReferenceInputDataSourceArgs();

    /**
     * The path of the file.
     * 
     */
    @Import(name="path")
    private @Nullable Output path;

    /**
     * @return The path of the file.
     * 
     */
    public Optional> path() {
        return Optional.ofNullable(this.path);
    }

    /**
     * Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'File'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'File'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private FileReferenceInputDataSourceArgs() {}

    private FileReferenceInputDataSourceArgs(FileReferenceInputDataSourceArgs $) {
        this.path = $.path;
        this.type = $.type;
    }

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

    public static final class Builder {
        private FileReferenceInputDataSourceArgs $;

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

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

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

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

        /**
         * @param type Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
         * Expected value is 'File'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
         * Expected value is 'File'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public FileReferenceInputDataSourceArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy