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

com.azure.resourcemanager.search.implementation.QueryKeyImpl Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Cognitive Search Management SDK. For documentation on how to use this package, please see https://aka.ms/azure-sdk-java-mgmt

There is a newer version: 2.45.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.resourcemanager.search.implementation;

import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;
import com.azure.resourcemanager.search.fluent.models.QueryKeyInner;
import com.azure.resourcemanager.search.models.QueryKey;

/**
 * Describes an API key for a given Azure Search service that has permissions for query operations only.
 */
class QueryKeyImpl extends WrapperImpl implements QueryKey {

    QueryKeyImpl(QueryKeyInner inner) {
        super(inner);
    }

    @Override
    public String name() {
        return this.innerModel().name();
    }

    @Override
    public String key() {
        return this.innerModel().key();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy