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 search service that has permissions for query operations only.
  • Constructor Details

    • QueryKeyInner

      public QueryKeyInner()
      Creates an instance of QueryKeyInner class.
  • Method Details

    • 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.