SafeSearch Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<SafeSearch> - com.
microsoft. azure. cognitiveservices. search. customsearch. models. SafeSearch
- com.
- com.
public class SafeSearch
Defines values for SafeSearch.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Safe |
MODERATE
Static value Moderate for SafeSearch. |
final Safe |
OFF
Static value Off for SafeSearch. |
final Safe |
STRICT
Static value Strict for SafeSearch. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Safe |
fromString(String name)
Creates or finds a SafeSearch from its string representation. |
Collection<Safe |
values() |
Field Details
MODERATE
public static final SafeSearch MODERATE= fromString("Moderate")
Static value Moderate for SafeSearch.
OFF
public static final SafeSearch OFF= fromString("Off")
Static value Off for SafeSearch.
STRICT
public static final SafeSearch STRICT= fromString("Strict")
Static value Strict for 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