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

package com.azure.resourcemanager.applicationinsights.models;

import com.azure.core.annotation.Fluent;
import java.util.Map;

/** Identity used for BYOS. */
@Fluent
public class WorkbookResourceIdentity extends ManagedServiceIdentity {
    /** {@inheritDoc} */
    @Override
    public WorkbookResourceIdentity withType(ManagedServiceIdentityType type) {
        super.withType(type);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public WorkbookResourceIdentity withUserAssignedIdentities(
        Map<String, UserAssignedIdentity> userAssignedIdentities) {
        super.withUserAssignedIdentities(userAssignedIdentities);
        return this;
    }

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