All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.recoveryservicesbackup.models.RestoreFileSpecs Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.

There is a newer version: 1.5.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.recoveryservicesbackup.models;

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

/**
 * Restore file specs like file path, type and target folder path info.
 */
@Fluent
public final class RestoreFileSpecs {
    /*
     * Source File/Folder path
     */
    @JsonProperty(value = "path")
    private String path;

    /*
     * Indicates what the Path variable stands for
     */
    @JsonProperty(value = "fileSpecType")
    private String fileSpecType;

    /*
     * Destination folder path in target FileShare
     */
    @JsonProperty(value = "targetFolderPath")
    private String targetFolderPath;

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

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

    /**
     * Set the path property: Source File/Folder path.
     * 
     * @param path the path value to set.
     * @return the RestoreFileSpecs object itself.
     */
    public RestoreFileSpecs withPath(String path) {
        this.path = path;
        return this;
    }

    /**
     * Get the fileSpecType property: Indicates what the Path variable stands for.
     * 
     * @return the fileSpecType value.
     */
    public String fileSpecType() {
        return this.fileSpecType;
    }

    /**
     * Set the fileSpecType property: Indicates what the Path variable stands for.
     * 
     * @param fileSpecType the fileSpecType value to set.
     * @return the RestoreFileSpecs object itself.
     */
    public RestoreFileSpecs withFileSpecType(String fileSpecType) {
        this.fileSpecType = fileSpecType;
        return this;
    }

    /**
     * Get the targetFolderPath property: Destination folder path in target FileShare.
     * 
     * @return the targetFolderPath value.
     */
    public String targetFolderPath() {
        return this.targetFolderPath;
    }

    /**
     * Set the targetFolderPath property: Destination folder path in target FileShare.
     * 
     * @param targetFolderPath the targetFolderPath value to set.
     * @return the RestoreFileSpecs object itself.
     */
    public RestoreFileSpecs withTargetFolderPath(String targetFolderPath) {
        this.targetFolderPath = targetFolderPath;
        return this;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy