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

package com.azure.resourcemanager.automation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Windows specific update configuration. */
@Fluent
public final class WindowsProperties {
    /*
     * Update classification included in the software update configuration. A comma separated string with required
     * values
     */
    @JsonProperty(value = "includedUpdateClassifications")
    private WindowsUpdateClasses includedUpdateClassifications;

    /*
     * KB numbers excluded from the software update configuration.
     */
    @JsonProperty(value = "excludedKbNumbers")
    private List<String> excludedKbNumbers;

    /*
     * KB numbers included from the software update configuration.
     */
    @JsonProperty(value = "includedKbNumbers")
    private List<String> includedKbNumbers;

    /*
     * Reboot setting for the software update configuration.
     */
    @JsonProperty(value = "rebootSetting")
    private String rebootSetting;

    /**
     * Get the includedUpdateClassifications property: Update classification included in the software update
     * configuration. A comma separated string with required values.
     *
     * @return the includedUpdateClassifications value.
     */
    public WindowsUpdateClasses includedUpdateClassifications() {
        return this.includedUpdateClassifications;
    }

    /**
     * Set the includedUpdateClassifications property: Update classification included in the software update
     * configuration. A comma separated string with required values.
     *
     * @param includedUpdateClassifications the includedUpdateClassifications value to set.
     * @return the WindowsProperties object itself.
     */
    public WindowsProperties withIncludedUpdateClassifications(WindowsUpdateClasses includedUpdateClassifications) {
        this.includedUpdateClassifications = includedUpdateClassifications;
        return this;
    }

    /**
     * Get the excludedKbNumbers property: KB numbers excluded from the software update configuration.
     *
     * @return the excludedKbNumbers value.
     */
    public List<String> excludedKbNumbers() {
        return this.excludedKbNumbers;
    }

    /**
     * Set the excludedKbNumbers property: KB numbers excluded from the software update configuration.
     *
     * @param excludedKbNumbers the excludedKbNumbers value to set.
     * @return the WindowsProperties object itself.
     */
    public WindowsProperties withExcludedKbNumbers(List<String> excludedKbNumbers) {
        this.excludedKbNumbers = excludedKbNumbers;
        return this;
    }

    /**
     * Get the includedKbNumbers property: KB numbers included from the software update configuration.
     *
     * @return the includedKbNumbers value.
     */
    public List<String> includedKbNumbers() {
        return this.includedKbNumbers;
    }

    /**
     * Set the includedKbNumbers property: KB numbers included from the software update configuration.
     *
     * @param includedKbNumbers the includedKbNumbers value to set.
     * @return the WindowsProperties object itself.
     */
    public WindowsProperties withIncludedKbNumbers(List<String> includedKbNumbers) {
        this.includedKbNumbers = includedKbNumbers;
        return this;
    }

    /**
     * Get the rebootSetting property: Reboot setting for the software update configuration.
     *
     * @return the rebootSetting value.
     */
    public String rebootSetting() {
        return this.rebootSetting;
    }

    /**
     * Set the rebootSetting property: Reboot setting for the software update configuration.
     *
     * @param rebootSetting the rebootSetting value to set.
     * @return the WindowsProperties object itself.
     */
    public WindowsProperties withRebootSetting(String rebootSetting) {
        this.rebootSetting = rebootSetting;
        return this;
    }

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