// 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;

/** Information about a VM from which a formula is to be created. */
@Fluent
public final class FormulaPropertiesFromVm {
    /*
     * The identifier of the VM from which a formula is to be created.
     */
    @JsonProperty(value = "labVmId")
    private String labVmId;

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

    /**
     * Get the labVmId property: The identifier of the VM from which a formula is to be created.
     *
     * @return the labVmId value.
     */
    public String labVmId() {
        return this.labVmId;
    }

    /**
     * Set the labVmId property: The identifier of the VM from which a formula is to be created.
     *
     * @param labVmId the labVmId value to set.
     * @return the FormulaPropertiesFromVm object itself.
     */
    public FormulaPropertiesFromVm withLabVmId(String labVmId) {
        this.labVmId = labVmId;
        return this;
    }

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