// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.hybridcontainerservice.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Profile for Windows VMs in the container service cluster. */
@Fluent
public class WindowsProfileResponse {
    /*
     * AdminUsername - Specifies the name of the administrator account. <br><br> **restriction:** Cannot end in "."
     * <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3",
     * "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john",
     * "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
     * <br><br> **Minimum-length:** 1 character <br><br> **Max-length:** 20 characters
     */
    @JsonProperty(value = "adminUsername")
    private String adminUsername;

    /*
     * EnableCSIProxy - Whether to enable CSI proxy.
     */
    @JsonProperty(value = "enableCsiProxy")
    private Boolean enableCsiProxy;

    /*
     * LicenseType - The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User
     * Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'
     */
    @JsonProperty(value = "licenseType")
    private LicenseType licenseType;

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

    /**
     * Get the adminUsername property: AdminUsername - Specifies the name of the administrator account.
     * &lt;br&gt;&lt;br&gt; **restriction:** Cannot end in "." &lt;br&gt;&lt;br&gt; **Disallowed values:**
     * "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a",
     * "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server",
     * "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". &lt;br&gt;&lt;br&gt;
     * **Minimum-length:** 1 character &lt;br&gt;&lt;br&gt; **Max-length:** 20 characters.
     *
     * @return the adminUsername value.
     */
    public String adminUsername() {
        return this.adminUsername;
    }

    /**
     * Set the adminUsername property: AdminUsername - Specifies the name of the administrator account.
     * &lt;br&gt;&lt;br&gt; **restriction:** Cannot end in "." &lt;br&gt;&lt;br&gt; **Disallowed values:**
     * "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a",
     * "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server",
     * "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". &lt;br&gt;&lt;br&gt;
     * **Minimum-length:** 1 character &lt;br&gt;&lt;br&gt; **Max-length:** 20 characters.
     *
     * @param adminUsername the adminUsername value to set.
     * @return the WindowsProfileResponse object itself.
     */
    public WindowsProfileResponse withAdminUsername(String adminUsername) {
        this.adminUsername = adminUsername;
        return this;
    }

    /**
     * Get the enableCsiProxy property: EnableCSIProxy - Whether to enable CSI proxy.
     *
     * @return the enableCsiProxy value.
     */
    public Boolean enableCsiProxy() {
        return this.enableCsiProxy;
    }

    /**
     * Set the enableCsiProxy property: EnableCSIProxy - Whether to enable CSI proxy.
     *
     * @param enableCsiProxy the enableCsiProxy value to set.
     * @return the WindowsProfileResponse object itself.
     */
    public WindowsProfileResponse withEnableCsiProxy(Boolean enableCsiProxy) {
        this.enableCsiProxy = enableCsiProxy;
        return this;
    }

    /**
     * Get the licenseType property: LicenseType - The licenseType to use for Windows VMs. Windows_Server is used to
     * enable Azure Hybrid User Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'.
     *
     * @return the licenseType value.
     */
    public LicenseType licenseType() {
        return this.licenseType;
    }

    /**
     * Set the licenseType property: LicenseType - The licenseType to use for Windows VMs. Windows_Server is used to
     * enable Azure Hybrid User Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'.
     *
     * @param licenseType the licenseType value to set.
     * @return the WindowsProfileResponse object itself.
     */
    public WindowsProfileResponse withLicenseType(LicenseType licenseType) {
        this.licenseType = licenseType;
        return this;
    }

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