SafeSearch Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. cognitiveservices. search. customsearch. models. SafeSearch
- com.
- com.
public final class SafeSearch
extends com.microsoft.rest.ExpandableStringEnum<SafeSearch>
Defines values for SafeSearch.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Safe |
MODERATE
Static value Moderate for Safe |
static final
Safe |
OFF
Static value Off for Safe |
static final
Safe |
STRICT
Static value Strict for Safe |
Constructor Summary
Constructor | Description | |
---|---|---|
SafeSearch() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Safe |
fromString(String name)
Creates or finds a Safe |
static
java.util.Collection<Safe |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
MODERATE
public static final SafeSearch MODERATE
Static value Moderate for SafeSearch.
OFF
public static final SafeSearch OFF
Static value Off for SafeSearch.
STRICT
public static final SafeSearch STRICT
Static value Strict for SafeSearch.
Constructor Details
SafeSearch
public SafeSearch()
Method Details
fromString
public static SafeSearch fromString(String name)
Creates or finds a SafeSearch from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java