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

/** Properties of the disk to attach. */
@Fluent
public final class AttachDiskProperties {
    /*
     * The resource ID of the Lab virtual machine to which the disk is attached.
     */
    @JsonProperty(value = "leasedByLabVmId")
    private String leasedByLabVmId;

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

    /**
     * Get the leasedByLabVmId property: The resource ID of the Lab virtual machine to which the disk is attached.
     *
     * @return the leasedByLabVmId value.
     */
    public String leasedByLabVmId() {
        return this.leasedByLabVmId;
    }

    /**
     * Set the leasedByLabVmId property: The resource ID of the Lab virtual machine to which the disk is attached.
     *
     * @param leasedByLabVmId the leasedByLabVmId value to set.
     * @return the AttachDiskProperties object itself.
     */
    public AttachDiskProperties withLeasedByLabVmId(String leasedByLabVmId) {
        this.leasedByLabVmId = leasedByLabVmId;
        return this;
    }

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