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

package com.azure.resourcemanager.loganalytics.models;

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

/** The list of Log Analytics workspaces associated with the cluster. */
@Immutable
public final class AssociatedWorkspace {
    /*
     * The id of the assigned workspace.
     */
    @JsonProperty(value = "workspaceId", access = JsonProperty.Access.WRITE_ONLY)
    private String workspaceId;

    /*
     * The name id the assigned workspace.
     */
    @JsonProperty(value = "workspaceName", access = JsonProperty.Access.WRITE_ONLY)
    private String workspaceName;

    /*
     * The ResourceId id the assigned workspace.
     */
    @JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY)
    private String resourceId;

    /*
     * The time of workspace association.
     */
    @JsonProperty(value = "associateDate", access = JsonProperty.Access.WRITE_ONLY)
    private String associateDate;

    /**
     * Get the workspaceId property: The id of the assigned workspace.
     *
     * @return the workspaceId value.
     */
    public String workspaceId() {
        return this.workspaceId;
    }

    /**
     * Get the workspaceName property: The name id the assigned workspace.
     *
     * @return the workspaceName value.
     */
    public String workspaceName() {
        return this.workspaceName;
    }

    /**
     * Get the resourceId property: The ResourceId id the assigned workspace.
     *
     * @return the resourceId value.
     */
    public String resourceId() {
        return this.resourceId;
    }

    /**
     * Get the associateDate property: The time of workspace association.
     *
     * @return the associateDate value.
     */
    public String associateDate() {
        return this.associateDate;
    }

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