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

package com.azure.resourcemanager.apimanagement.models;

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

/** The object defining the schema of the exported API Detail. */
@Fluent
public final class ApiExportResultValue {
    /*
     * Link to the Storage Blob containing the result of the export operation.
     * The Blob Uri is only valid for 5 minutes.
     */
    @JsonProperty(value = "link")
    private String link;

    /**
     * Get the link property: Link to the Storage Blob containing the result of the export operation. The Blob Uri is
     * only valid for 5 minutes.
     *
     * @return the link value.
     */
    public String link() {
        return this.link;
    }

    /**
     * Set the link property: Link to the Storage Blob containing the result of the export operation. The Blob Uri is
     * only valid for 5 minutes.
     *
     * @param link the link value to set.
     * @return the ApiExportResultValue object itself.
     */
    public ApiExportResultValue withLink(String link) {
        this.link = link;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
