// 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 Windows OS. */
@Fluent
public final class WindowsOsInfo {
    /*
     * The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
     */
    @JsonProperty(value = "windowsOsState")
    private WindowsOsState windowsOsState;

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

    /**
     * Get the windowsOsState property: The state of the Windows OS (i.e. NonSysprepped, SysprepRequested,
     * SysprepApplied).
     *
     * @return the windowsOsState value.
     */
    public WindowsOsState windowsOsState() {
        return this.windowsOsState;
    }

    /**
     * Set the windowsOsState property: The state of the Windows OS (i.e. NonSysprepped, SysprepRequested,
     * SysprepApplied).
     *
     * @param windowsOsState the windowsOsState value to set.
     * @return the WindowsOsInfo object itself.
     */
    public WindowsOsInfo withWindowsOsState(WindowsOsState windowsOsState) {
        this.windowsOsState = windowsOsState;
        return this;
    }

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