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

package com.azure.resourcemanager.dataprotection.models;

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

/** This class contains all the details about a critical operation. */
@Immutable
public final class ResourceGuardOperation {
    /*
     * Name of the critical operation.
     */
    @JsonProperty(value = "vaultCriticalOperation", access = JsonProperty.Access.WRITE_ONLY)
    private String vaultCriticalOperation;

    /*
     * Type of resource request.
     */
    @JsonProperty(value = "requestResourceType", access = JsonProperty.Access.WRITE_ONLY)
    private String requestResourceType;

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

    /**
     * Get the vaultCriticalOperation property: Name of the critical operation.
     *
     * @return the vaultCriticalOperation value.
     */
    public String vaultCriticalOperation() {
        return this.vaultCriticalOperation;
    }

    /**
     * Get the requestResourceType property: Type of resource request.
     *
     * @return the requestResourceType value.
     */
    public String requestResourceType() {
        return this.requestResourceType;
    }

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