Class IdsQuery.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder<IdsQuery.Builder>
org.opensearch.client.opensearch._types.query_dsl.IdsQuery.Builder
- All Implemented Interfaces:
CopyableBuilder<IdsQuery.Builder,,IdsQuery> MutableBuilder<IdsQuery.Builder,,IdsQuery> ObjectBuilder<IdsQuery>
- Enclosing class:
IdsQuery
public static class IdsQuery.Builder
extends QueryBase.AbstractBuilder<IdsQuery.Builder>
implements CopyableBuilder<IdsQuery.Builder,IdsQuery>
Builder for
IdsQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIdsQuery.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected IdsQuery.Builderself()final IdsQuery.BuilderAPI name:valuesfinal IdsQuery.BuilderAPI name:valuesMethods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase.AbstractBuilder
boost, queryNameMethods 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<IdsQuery.Builder,IdsQuery> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classQueryBase.AbstractBuilder<IdsQuery.Builder>
-
values
API name:valuesAdds all elements of
listtovalues. -
values
API name:valuesAdds one or more values to
values. -
build
Builds aIdsQuery.- Specified by:
buildin interfaceObjectBuilder<IdsQuery>- Throws:
NullPointerException- if some of the required fields are null.
-