// 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 resizing a virtual machine. */
@Fluent
public final class ResizeLabVirtualMachineProperties {
    /*
     * Specifies the size of the virtual machine.
     */
    @JsonProperty(value = "size")
    private String size;

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

    /**
     * Get the size property: Specifies the size of the virtual machine.
     *
     * @return the size value.
     */
    public String size() {
        return this.size;
    }

    /**
     * Set the size property: Specifies the size of the virtual machine.
     *
     * @param size the size value to set.
     * @return the ResizeLabVirtualMachineProperties object itself.
     */
    public ResizeLabVirtualMachineProperties withSize(String size) {
        this.size = size;
        return this;
    }

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