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

package com.azure.resourcemanager.devtestlabs.models;

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

/** This represents the payload required to import a virtual machine from a different lab into the current one. */
@Fluent
public final class ImportLabVirtualMachineRequest {
    /*
     * The full resource ID of the virtual machine to be imported.
     */
    @JsonProperty(value = "sourceVirtualMachineResourceId")
    private String sourceVirtualMachineResourceId;

    /*
     * The name of the virtual machine in the destination lab
     */
    @JsonProperty(value = "destinationVirtualMachineName")
    private String destinationVirtualMachineName;

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

    /**
     * Get the sourceVirtualMachineResourceId property: The full resource ID of the virtual machine to be imported.
     *
     * @return the sourceVirtualMachineResourceId value.
     */
    public String sourceVirtualMachineResourceId() {
        return this.sourceVirtualMachineResourceId;
    }

    /**
     * Set the sourceVirtualMachineResourceId property: The full resource ID of the virtual machine to be imported.
     *
     * @param sourceVirtualMachineResourceId the sourceVirtualMachineResourceId value to set.
     * @return the ImportLabVirtualMachineRequest object itself.
     */
    public ImportLabVirtualMachineRequest withSourceVirtualMachineResourceId(String sourceVirtualMachineResourceId) {
        this.sourceVirtualMachineResourceId = sourceVirtualMachineResourceId;
        return this;
    }

    /**
     * Get the destinationVirtualMachineName property: The name of the virtual machine in the destination lab.
     *
     * @return the destinationVirtualMachineName value.
     */
    public String destinationVirtualMachineName() {
        return this.destinationVirtualMachineName;
    }

    /**
     * Set the destinationVirtualMachineName property: The name of the virtual machine in the destination lab.
     *
     * @param destinationVirtualMachineName the destinationVirtualMachineName value to set.
     * @return the ImportLabVirtualMachineRequest object itself.
     */
    public ImportLabVirtualMachineRequest withDestinationVirtualMachineName(String destinationVirtualMachineName) {
        this.destinationVirtualMachineName = destinationVirtualMachineName;
        return this;
    }

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