MultiLanguageBatchInput.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.textanalytics.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Contains a set of input documents to be analyzed by the service. */
@Fluent
public final class MultiLanguageBatchInput {
    /*
     * The set of documents to process as part of this batch.
     */
    @JsonProperty(value = "documents", required = true)
    private List<MultiLanguageInput> documents;

    /**
     * Get the documents property: The set of documents to process as part of this batch.
     *
     * @return the documents value.
     */
    public List<MultiLanguageInput> getDocuments() {
        return this.documents;
    }

    /**
     * Set the documents property: The set of documents to process as part of this batch.
     *
     * @param documents the documents value to set.
     * @return the MultiLanguageBatchInput object itself.
     */
    public MultiLanguageBatchInput setDocuments(List<MultiLanguageInput> documents) {
        this.documents = documents;
        return this;
    }
}