Class 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 Detail

      • QueryKeyInner

        public QueryKeyInner()
    • 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.