Class MarkdownHeaderDepth
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MarkdownHeaderDepth>
com.azure.search.documents.indexes.models.MarkdownHeaderDepth
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class MarkdownHeaderDepth
extends com.azure.core.util.ExpandableStringEnum<MarkdownHeaderDepth>
Specifies the max header depth that will be considered while grouping markdown content. Default is `h6`.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MarkdownHeaderDepthIndicates that headers up to a level of h1 will be considered while grouping markdown content.static final MarkdownHeaderDepthIndicates that headers up to a level of h2 will be considered while grouping markdown content.static final MarkdownHeaderDepthIndicates that headers up to a level of h3 will be considered while grouping markdown content.static final MarkdownHeaderDepthIndicates that headers up to a level of h4 will be considered while grouping markdown content.static final MarkdownHeaderDepthIndicates that headers up to a level of h5 will be considered while grouping markdown content.static final MarkdownHeaderDepthIndicates that headers up to a level of h6 will be considered while grouping markdown content. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MarkdownHeaderDepthfromString(String name) Creates or finds a MarkdownHeaderDepth from its string representation.static Collection<MarkdownHeaderDepth> values()Gets known MarkdownHeaderDepth values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
H1
Indicates that headers up to a level of h1 will be considered while grouping markdown content. -
H2
Indicates that headers up to a level of h2 will be considered while grouping markdown content. -
H3
Indicates that headers up to a level of h3 will be considered while grouping markdown content. -
H4
Indicates that headers up to a level of h4 will be considered while grouping markdown content. -
H5
Indicates that headers up to a level of h5 will be considered while grouping markdown content. -
H6
Indicates that headers up to a level of h6 will be considered while grouping markdown content. This is the default.
-
-
Constructor Details
-
MarkdownHeaderDepth
Deprecated.Use thefromString(String)factory method.Creates a new instance of MarkdownHeaderDepth value.
-
-
Method Details
-
fromString
Creates or finds a MarkdownHeaderDepth from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding MarkdownHeaderDepth.
-
values
Gets known MarkdownHeaderDepth values.- Returns:
- known MarkdownHeaderDepth values.
-
fromString(String)factory method.