SourcePath.java

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

package com.azure.ai.formrecognizer.implementation.models;

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

/** Uri or local path to source data. */
@Fluent
public final class SourcePath {
    /*
     * File source path.
     */
    @JsonProperty(value = "source")
    private String source;

    /**
     * Get the source property: File source path.
     *
     * @return the source value.
     */
    public String getSource() {
        return this.source;
    }

    /**
     * Set the source property: File source path.
     *
     * @param source the source value to set.
     * @return the SourcePath object itself.
     */
    public SourcePath setSource(String source) {
        this.source = source;
        return this;
    }
}