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

package com.azure.resourcemanager.storagecache.models;

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

/** Information required to execute the archive operation. */
@Fluent
public final class AmlFilesystemArchiveInfo {
    /*
     * Lustre file system path to archive relative to the file system root.  Specify '/' to archive all modified data.
     */
    @JsonProperty(value = "filesystemPath")
    private String filesystemPath;

    /** Creates an instance of AmlFilesystemArchiveInfo class. */
    public AmlFilesystemArchiveInfo() {
    }

    /**
     * Get the filesystemPath property: Lustre file system path to archive relative to the file system root. Specify '/'
     * to archive all modified data.
     *
     * @return the filesystemPath value.
     */
    public String filesystemPath() {
        return this.filesystemPath;
    }

    /**
     * Set the filesystemPath property: Lustre file system path to archive relative to the file system root. Specify '/'
     * to archive all modified data.
     *
     * @param filesystemPath the filesystemPath value to set.
     * @return the AmlFilesystemArchiveInfo object itself.
     */
    public AmlFilesystemArchiveInfo withFilesystemPath(String filesystemPath) {
        this.filesystemPath = filesystemPath;
        return this;
    }

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