AzureMLWebServiceFile.java

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.analytics.synapse.artifacts.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Azure ML WebService Input/Output file. */
@Fluent
public final class AzureMLWebServiceFile {
    /*
     * The relative file path, including container name, in the Azure Blob
     * Storage specified by the LinkedService. Type: string (or Expression with
     * resultType string).
     */
    @JsonProperty(value = "filePath", required = true)
    private Object filePath;

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

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

    /**
     * Set the filePath property: The relative file path, including container name, in the Azure Blob Storage specified
     * by the LinkedService. Type: string (or Expression with resultType string).
     *
     * @param filePath the filePath value to set.
     * @return the AzureMLWebServiceFile object itself.
     */
    public AzureMLWebServiceFile setFilePath(Object filePath) {
        this.filePath = filePath;
        return this;
    }

    /**
     * Get the linkedServiceName property: Reference to an Azure Storage LinkedService, where Azure ML WebService
     * Input/Output file located.
     *
     * @return the linkedServiceName value.
     */
    public LinkedServiceReference getLinkedServiceName() {
        return this.linkedServiceName;
    }

    /**
     * Set the linkedServiceName property: Reference to an Azure Storage LinkedService, where Azure ML WebService
     * Input/Output file located.
     *
     * @param linkedServiceName the linkedServiceName value to set.
     * @return the AzureMLWebServiceFile object itself.
     */
    public AzureMLWebServiceFile setLinkedServiceName(LinkedServiceReference linkedServiceName) {
        this.linkedServiceName = linkedServiceName;
        return this;
    }
}