Enum SearchDetails.MatchingContextType
- java.lang.Object
-
- java.lang.Enum<SearchDetails.MatchingContextType>
-
- com.oracle.bmc.resourcesearch.model.SearchDetails.MatchingContextType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SearchDetails.MatchingContextType>
- Enclosing class:
- SearchDetails
public static enum SearchDetails.MatchingContextType extends Enum<SearchDetails.MatchingContextType> implements BmcEnum
The type of matching context returned in the response.If you specify HIGHLIGHTS, then the service will highlight fragments in its response. (For more information, see ResourceSummary.searchContext and SearchContext.) The default setting is NONE.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Highlights
None
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchDetails.MatchingContextType
create(String key)
String
getValue()
static SearchDetails.MatchingContextType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchDetails.MatchingContextType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final SearchDetails.MatchingContextType None
-
Highlights
public static final SearchDetails.MatchingContextType Highlights
-
-
Method Detail
-
values
public static SearchDetails.MatchingContextType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SearchDetails.MatchingContextType c : SearchDetails.MatchingContextType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchDetails.MatchingContextType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static SearchDetails.MatchingContextType create(String key)
-
-