All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.monitor.WorkspaceInfo Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Monitor SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-monitor is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.monitor;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;

/**
 * Information about a Log Analytics Workspace.
 */
@JsonFlatten
public class WorkspaceInfo {
    /**
     * Azure Resource Manager identifier of the Log Analytics Workspace.
     */
    @JsonProperty(value = "id", required = true)
    private String id;

    /**
     * Location of the Log Analytics workspace.
     */
    @JsonProperty(value = "location", required = true)
    private String location;

    /**
     * Log Analytics workspace identifier.
     */
    @JsonProperty(value = "properties.customerId", required = true)
    private String customerId;

    /**
     * Get azure Resource Manager identifier of the Log Analytics Workspace.
     *
     * @return the id value
     */
    public String id() {
        return this.id;
    }

    /**
     * Set azure Resource Manager identifier of the Log Analytics Workspace.
     *
     * @param id the id value to set
     * @return the WorkspaceInfo object itself.
     */
    public WorkspaceInfo withId(String id) {
        this.id = id;
        return this;
    }

    /**
     * Get location of the Log Analytics workspace.
     *
     * @return the location value
     */
    public String location() {
        return this.location;
    }

    /**
     * Set location of the Log Analytics workspace.
     *
     * @param location the location value to set
     * @return the WorkspaceInfo object itself.
     */
    public WorkspaceInfo withLocation(String location) {
        this.location = location;
        return this;
    }

    /**
     * Get log Analytics workspace identifier.
     *
     * @return the customerId value
     */
    public String customerId() {
        return this.customerId;
    }

    /**
     * Set log Analytics workspace identifier.
     *
     * @param customerId the customerId value to set
     * @return the WorkspaceInfo object itself.
     */
    public WorkspaceInfo withCustomerId(String customerId) {
        this.customerId = customerId;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy