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

package com.azure.resourcemanager.dashboard.models;

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

/** Integrations for Azure Monitor Workspace. */
@Fluent
public final class AzureMonitorWorkspaceIntegration {
    /*
     * The resource Id of the connected Azure Monitor Workspace.
     */
    @JsonProperty(value = "azureMonitorWorkspaceResourceId")
    private String azureMonitorWorkspaceResourceId;

    /**
     * Get the azureMonitorWorkspaceResourceId property: The resource Id of the connected Azure Monitor Workspace.
     *
     * @return the azureMonitorWorkspaceResourceId value.
     */
    public String azureMonitorWorkspaceResourceId() {
        return this.azureMonitorWorkspaceResourceId;
    }

    /**
     * Set the azureMonitorWorkspaceResourceId property: The resource Id of the connected Azure Monitor Workspace.
     *
     * @param azureMonitorWorkspaceResourceId the azureMonitorWorkspaceResourceId value to set.
     * @return the AzureMonitorWorkspaceIntegration object itself.
     */
    public AzureMonitorWorkspaceIntegration withAzureMonitorWorkspaceResourceId(
        String azureMonitorWorkspaceResourceId) {
        this.azureMonitorWorkspaceResourceId = azureMonitorWorkspaceResourceId;
        return this;
    }

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