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

package com.azure.resourcemanager.recoveryservicesbackup.models;

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

/** The ResourceGuardOperationDetail model. */
@Fluent
public final class ResourceGuardOperationDetail {
    /*
     * The vaultCriticalOperation property.
     */
    @JsonProperty(value = "vaultCriticalOperation")
    private String vaultCriticalOperation;

    /*
     * The defaultResourceRequest property.
     */
    @JsonProperty(value = "defaultResourceRequest")
    private String defaultResourceRequest;

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

    /**
     * Get the vaultCriticalOperation property: The vaultCriticalOperation property.
     *
     * @return the vaultCriticalOperation value.
     */
    public String vaultCriticalOperation() {
        return this.vaultCriticalOperation;
    }

    /**
     * Set the vaultCriticalOperation property: The vaultCriticalOperation property.
     *
     * @param vaultCriticalOperation the vaultCriticalOperation value to set.
     * @return the ResourceGuardOperationDetail object itself.
     */
    public ResourceGuardOperationDetail withVaultCriticalOperation(String vaultCriticalOperation) {
        this.vaultCriticalOperation = vaultCriticalOperation;
        return this;
    }

    /**
     * Get the defaultResourceRequest property: The defaultResourceRequest property.
     *
     * @return the defaultResourceRequest value.
     */
    public String defaultResourceRequest() {
        return this.defaultResourceRequest;
    }

    /**
     * Set the defaultResourceRequest property: The defaultResourceRequest property.
     *
     * @param defaultResourceRequest the defaultResourceRequest value to set.
     * @return the ResourceGuardOperationDetail object itself.
     */
    public ResourceGuardOperationDetail withDefaultResourceRequest(String defaultResourceRequest) {
        this.defaultResourceRequest = defaultResourceRequest;
        return this;
    }

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