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

package com.azure.resourcemanager.elastic.implementation;

import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.elastic.fluent.CreateAndAssociatePLFiltersClient;
import com.azure.resourcemanager.elastic.models.CreateAndAssociatePLFilters;

public final class CreateAndAssociatePLFiltersImpl implements CreateAndAssociatePLFilters {
    private static final ClientLogger LOGGER = new ClientLogger(CreateAndAssociatePLFiltersImpl.class);

    private final CreateAndAssociatePLFiltersClient innerClient;

    private final com.azure.resourcemanager.elastic.ElasticManager serviceManager;

    public CreateAndAssociatePLFiltersImpl(
        CreateAndAssociatePLFiltersClient innerClient,
        com.azure.resourcemanager.elastic.ElasticManager serviceManager) {
        this.innerClient = innerClient;
        this.serviceManager = serviceManager;
    }

    public void create(String resourceGroupName, String monitorName) {
        this.serviceClient().create(resourceGroupName, monitorName);
    }

    public void create(
        String resourceGroupName,
        String monitorName,
        String name,
        String privateEndpointGuid,
        String privateEndpointName,
        Context context) {
        this
            .serviceClient()
            .create(resourceGroupName, monitorName, name, privateEndpointGuid, privateEndpointName, context);
    }

    private CreateAndAssociatePLFiltersClient serviceClient() {
        return this.innerClient;
    }

    private com.azure.resourcemanager.elastic.ElasticManager manager() {
        return this.serviceManager;
    }
}
