Class IndexSettingsHighlight.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.IndexSettingsHighlight.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexSettingsHighlight.Builder,,IndexSettingsHighlight> MutableBuilder<IndexSettingsHighlight.Builder,,IndexSettingsHighlight> ObjectBuilder<IndexSettingsHighlight>
- Enclosing class:
IndexSettingsHighlight
public static class IndexSettingsHighlight.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexSettingsHighlight.Builder,IndexSettingsHighlight>
Builder for
IndexSettingsHighlight.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexSettingsHighlight.copy()Create a new builderCopyableBuilderthat is a copy of this one.maxAnalyzedOffset(Integer value) API name:max_analyzed_offsetMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IndexSettingsHighlight.Builder,IndexSettingsHighlight> - Returns:
- a new builder instance.
-
maxAnalyzedOffset
API name:max_analyzed_offset -
build
Builds aIndexSettingsHighlight.- Specified by:
buildin interfaceObjectBuilder<IndexSettingsHighlight>- Throws:
NullPointerException- if some of the required fields are null.
-