Class SearchAudience
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SearchAudience>
com.azure.search.documents.models.SearchAudience
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Cloud audiences available for Search.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SearchAudienceTheSearchAudiencefor Azure China cloud.static final SearchAudienceTheSearchAudiencefor Azure US Government cloud.static final SearchAudienceTheSearchAudiencefor the Azure Public cloud. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchAudiencefromString(String name) Creates or finds a SearchAudience from its string representation.static Collection<SearchAudience> values()Gets the known SearchAudience values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AZURE_CHINA
TheSearchAudiencefor Azure China cloud. -
AZURE_GOVERNMENT
TheSearchAudiencefor Azure US Government cloud. -
AZURE_PUBLIC_CLOUD
TheSearchAudiencefor the Azure Public cloud.
-
-
Constructor Details
-
SearchAudience
Deprecated.Use one of the constants or thefromString(String)factory method.Creates a new instance ofSearchAudiencewithout aExpandableStringEnum.toString()value.This constructor shouldn't be called as it will produce a
SearchAudiencewhich doesn't have a String enum value.
-
-
Method Details
-
fromString
Creates or finds a SearchAudience from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SearchAudience.
-
values
Gets the known SearchAudience values.- Returns:
- known SearchAudience values.
-
fromString(String)factory method.