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

com.pulumi.azurenative.datafactory.inputs.AzureMLWebServiceFileArgs 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.datafactory.inputs;

import com.pulumi.azurenative.datafactory.inputs.LinkedServiceReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.util.Objects;


/**
 * Azure ML WebService Input/Output file
 * 
 */
public final class AzureMLWebServiceFileArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureMLWebServiceFileArgs Empty = new AzureMLWebServiceFileArgs();

    /**
     * The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="filePath", required=true)
    private Output filePath;

    /**
     * @return The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string).
     * 
     */
    public Output filePath() {
        return this.filePath;
    }

    /**
     * Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located.
     * 
     */
    @Import(name="linkedServiceName", required=true)
    private Output linkedServiceName;

    /**
     * @return Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located.
     * 
     */
    public Output linkedServiceName() {
        return this.linkedServiceName;
    }

    private AzureMLWebServiceFileArgs() {}

    private AzureMLWebServiceFileArgs(AzureMLWebServiceFileArgs $) {
        this.filePath = $.filePath;
        this.linkedServiceName = $.linkedServiceName;
    }

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

    public static final class Builder {
        private AzureMLWebServiceFileArgs $;

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

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

        /**
         * @param filePath The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder filePath(Output filePath) {
            $.filePath = filePath;
            return this;
        }

        /**
         * @param filePath The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder filePath(Object filePath) {
            return filePath(Output.of(filePath));
        }

        /**
         * @param linkedServiceName Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located.
         * 
         * @return builder
         * 
         */
        public Builder linkedServiceName(Output linkedServiceName) {
            $.linkedServiceName = linkedServiceName;
            return this;
        }

        /**
         * @param linkedServiceName Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located.
         * 
         * @return builder
         * 
         */
        public Builder linkedServiceName(LinkedServiceReferenceArgs linkedServiceName) {
            return linkedServiceName(Output.of(linkedServiceName));
        }

        public AzureMLWebServiceFileArgs build() {
            if ($.filePath == null) {
                throw new MissingRequiredPropertyException("AzureMLWebServiceFileArgs", "filePath");
            }
            if ($.linkedServiceName == null) {
                throw new MissingRequiredPropertyException("AzureMLWebServiceFileArgs", "linkedServiceName");
            }
            return $;
        }
    }

}