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

com.azure.resourcemanager.recoveryservicesbackup.models.IdentityBasedRestoreDetails 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;

/**
 * IaaS VM workload specific restore details for restores using managed identity.
 */
@Fluent
public final class IdentityBasedRestoreDetails {
    /*
     * Gets the class type.
     */
    @JsonProperty(value = "objectType")
    private String objectType;

    /*
     * Fully qualified ARM ID of the target storage account.
     */
    @JsonProperty(value = "targetStorageAccountId")
    private String targetStorageAccountId;

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

    /**
     * Get the objectType property: Gets the class type.
     * 
     * @return the objectType value.
     */
    public String objectType() {
        return this.objectType;
    }

    /**
     * Set the objectType property: Gets the class type.
     * 
     * @param objectType the objectType value to set.
     * @return the IdentityBasedRestoreDetails object itself.
     */
    public IdentityBasedRestoreDetails withObjectType(String objectType) {
        this.objectType = objectType;
        return this;
    }

    /**
     * Get the targetStorageAccountId property: Fully qualified ARM ID of the target storage account.
     * 
     * @return the targetStorageAccountId value.
     */
    public String targetStorageAccountId() {
        return this.targetStorageAccountId;
    }

    /**
     * Set the targetStorageAccountId property: Fully qualified ARM ID of the target storage account.
     * 
     * @param targetStorageAccountId the targetStorageAccountId value to set.
     * @return the IdentityBasedRestoreDetails object itself.
     */
    public IdentityBasedRestoreDetails withTargetStorageAccountId(String targetStorageAccountId) {
        this.targetStorageAccountId = targetStorageAccountId;
        return this;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy