Class AdminKeyResultInner


  • public final class AdminKeyResultInner
    extends Object
    Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service.
    • Constructor Detail

      • AdminKeyResultInner

        public AdminKeyResultInner()
    • Method Detail

      • primaryKey

        public String primaryKey()
        Get the primaryKey property: The primary admin API key of the search service.
        Returns:
        the primaryKey value.
      • secondaryKey

        public String secondaryKey()
        Get the secondaryKey property: The secondary admin API key of the search service.
        Returns:
        the secondaryKey value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.