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

package com.azure.resourcemanager.providerhub.models;

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

/** The ProviderHubMetadataThirdPartyProviderAuthorization model. */
@Fluent
public final class ProviderHubMetadataThirdPartyProviderAuthorization extends ThirdPartyProviderAuthorization {
    /** Creates an instance of ProviderHubMetadataThirdPartyProviderAuthorization class. */
    public ProviderHubMetadataThirdPartyProviderAuthorization() {
    }

    /** {@inheritDoc} */
    @Override
    public ProviderHubMetadataThirdPartyProviderAuthorization withAuthorizations(
        List<LightHouseAuthorization> authorizations) {
        super.withAuthorizations(authorizations);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ProviderHubMetadataThirdPartyProviderAuthorization withManagedByTenantId(String managedByTenantId) {
        super.withManagedByTenantId(managedByTenantId);
        return this;
    }

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