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

package com.azure.resourcemanager.security.models;

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

/** Governance rule execution parameters. */
@Fluent
public final class ExecuteGovernanceRuleParams {
    /*
     * Describe if governance rule should be override
     */
    @JsonProperty(value = "override")
    private Boolean override;

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

    /**
     * Get the override property: Describe if governance rule should be override.
     *
     * @return the override value.
     */
    public Boolean override() {
        return this.override;
    }

    /**
     * Set the override property: Describe if governance rule should be override.
     *
     * @param override the override value to set.
     * @return the ExecuteGovernanceRuleParams object itself.
     */
    public ExecuteGovernanceRuleParams withOverride(Boolean override) {
        this.override = override;
        return this;
    }

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