// 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() {
    }
}
