Class IndexField.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.IndexField.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexField.Builder,,IndexField> MutableBuilder<IndexField.Builder,,IndexField> ObjectBuilder<IndexField>
- Enclosing class:
IndexField
public static class IndexField.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexField.Builder,IndexField>
Builder for
IndexField.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexField.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IndexField.Builderenabled(boolean value) Required - API name:enabledMethods 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<IndexField.Builder,IndexField> - Returns:
- a new builder instance.
-
enabled
Required - API name:enabled -
build
Builds aIndexField.- Specified by:
buildin interfaceObjectBuilder<IndexField>- Throws:
NullPointerException- if some of the required fields are null.
-