Class TermsLookup.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.TermsLookup.Builder
- All Implemented Interfaces:
CopyableBuilder<TermsLookup.Builder,,TermsLookup> MutableBuilder<TermsLookup.Builder,,TermsLookup> ObjectBuilder<TermsLookup>
- Enclosing class:
TermsLookup
public static class TermsLookup.Builder
extends ObjectBuilderBase
implements CopyableBuilder<TermsLookup.Builder,TermsLookup>
Builder for
TermsLookup.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTermsLookup.copy()Create a new builderCopyableBuilderthat is a copy of this one.final TermsLookup.BuilderRequired - API name:idfinal TermsLookup.BuilderRequired - API name:indexfinal TermsLookup.BuilderRequired - API name:pathfinal TermsLookup.BuilderAPI name:routingfinal TermsLookup.BuilderAPI name:storeMethods 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<TermsLookup.Builder,TermsLookup> - Returns:
- a new builder instance.
-
id
Required - API name:id -
index
Required - API name:index -
path
Required - API name:path -
routing
API name:routing -
store
API name:store -
build
Builds aTermsLookup.- Specified by:
buildin interfaceObjectBuilder<TermsLookup>- Throws:
NullPointerException- if some of the required fields are null.
-