Class AdminKeyResultInner
- java.lang.Object
-
- com.azure.resourcemanager.search.fluent.models.AdminKeyResultInner
-
public final class AdminKeyResultInner extends Object
Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service.
-
-
Constructor Summary
Constructors Constructor Description AdminKeyResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprimaryKey()Get the primaryKey property: The primary admin API key of the search service.StringsecondaryKey()Get the secondaryKey property: The secondary admin API key of the search service.voidvalidate()Validates the instance.
-
-
-
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.
-
-