QueryKeyInner Class
- java.
lang. Object - com.
azure. resourcemanager. search. fluent. models. QueryKeyInner
- com.
Implements
public final class QueryKeyInner
implements JsonSerializable<QueryKeyInner>
Describes an API key for a given search service that has permissions for query operations only.
Constructor Summary
Constructor | Description |
---|---|
QueryKeyInner() |
Creates an instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
String |
key()
Get the key property: The value of the query API key. |
String |
name()
Get the name property: The name of the query API key; may be empty. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
QueryKeyInner
public QueryKeyInner()
Creates an instance of QueryKeyInner class.
Method Details
fromJson
public static QueryKeyInner fromJson(JsonReader jsonReader)
Reads an instance of QueryKeyInner from the JsonReader.
Parameters:
Returns:
Throws:
key
public String key()
Get the key property: The value of the query API key.
Returns:
name
public String name()
Get the name property: The name of the query API key; may be empty.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java