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

/** Request body for detaching data disk from a virtual machine. */
@Fluent
public final class DetachDataDiskProperties {
    /*
     * Specifies the disk resource ID to detach from virtual machine.
     */
    @JsonProperty(value = "existingLabDiskId")
    private String existingLabDiskId;

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

    /**
     * Get the existingLabDiskId property: Specifies the disk resource ID to detach from virtual machine.
     *
     * @return the existingLabDiskId value.
     */
    public String existingLabDiskId() {
        return this.existingLabDiskId;
    }

    /**
     * Set the existingLabDiskId property: Specifies the disk resource ID to detach from virtual machine.
     *
     * @param existingLabDiskId the existingLabDiskId value to set.
     * @return the DetachDataDiskProperties object itself.
     */
    public DetachDataDiskProperties withExistingLabDiskId(String existingLabDiskId) {
        this.existingLabDiskId = existingLabDiskId;
        return this;
    }

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