Class QueryKeyInner
- java.lang.Object
-
- com.azure.resourcemanager.search.fluent.models.QueryKeyInner
-
public final class QueryKeyInner extends Object
Describes an API key for a given Azure Cognitive Search service that has permissions for query operations only.
-
-
Constructor Summary
Constructors Constructor Description QueryKeyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringkey()Get the key property: The value of the query API key.Stringname()Get the name property: The name of the query API key; may be empty.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the query API key; may be empty.- Returns:
- the name value.
-
key
public String key()
Get the key property: The value of the query API key.- Returns:
- the key value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-