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

com.azure.resourcemanager.recoveryservicesbackup.models.InstantItemRecoveryTarget 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;
import java.util.List;

/**
 * Target details for file / folder restore.
 */
@Fluent
public final class InstantItemRecoveryTarget {
    /*
     * List of client scripts.
     */
    @JsonProperty(value = "clientScripts")
    private List clientScripts;

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

    /**
     * Get the clientScripts property: List of client scripts.
     * 
     * @return the clientScripts value.
     */
    public List clientScripts() {
        return this.clientScripts;
    }

    /**
     * Set the clientScripts property: List of client scripts.
     * 
     * @param clientScripts the clientScripts value to set.
     * @return the InstantItemRecoveryTarget object itself.
     */
    public InstantItemRecoveryTarget withClientScripts(List clientScripts) {
        this.clientScripts = clientScripts;
        return this;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
        if (clientScripts() != null) {
            clientScripts().forEach(e -> e.validate());
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy