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

package com.azure.resourcemanager.connectedvmware.fluent.models;

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

/** Specifies the patch settings. */
@Fluent
public final class PatchSettings {
    /*
     * Specifies the assessment mode.
     */
    @JsonProperty(value = "assessmentMode")
    private String assessmentMode;

    /*
     * Specifies the patch mode.
     */
    @JsonProperty(value = "patchMode")
    private String patchMode;

    /**
     * Get the assessmentMode property: Specifies the assessment mode.
     *
     * @return the assessmentMode value.
     */
    public String assessmentMode() {
        return this.assessmentMode;
    }

    /**
     * Set the assessmentMode property: Specifies the assessment mode.
     *
     * @param assessmentMode the assessmentMode value to set.
     * @return the PatchSettings object itself.
     */
    public PatchSettings withAssessmentMode(String assessmentMode) {
        this.assessmentMode = assessmentMode;
        return this;
    }

    /**
     * Get the patchMode property: Specifies the patch mode.
     *
     * @return the patchMode value.
     */
    public String patchMode() {
        return this.patchMode;
    }

    /**
     * Set the patchMode property: Specifies the patch mode.
     *
     * @param patchMode the patchMode value to set.
     * @return the PatchSettings object itself.
     */
    public PatchSettings withPatchMode(String patchMode) {
        this.patchMode = patchMode;
        return this;
    }

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