Class SearchFeaturesRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<SearchFeaturesRequest.Builder>
org.opensearch.client.opensearch.ltr.SearchFeaturesRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<SearchFeaturesRequest.Builder,,SearchFeaturesRequest> MutableBuilder<SearchFeaturesRequest.Builder,,SearchFeaturesRequest> ObjectBuilder<SearchFeaturesRequest>
- Enclosing class:
SearchFeaturesRequest
public static class SearchFeaturesRequest.Builder
extends RequestBase.AbstractBuilder<SearchFeaturesRequest.Builder>
implements CopyableBuilder<SearchFeaturesRequest.Builder,SearchFeaturesRequest>
Builder for
SearchFeaturesRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSearchFeaturesRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.The offset from the first result (for pagination).A name prefix to filter features by.protected SearchFeaturesRequest.Builderself()The number of features to return.The name of the feature store.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods 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<SearchFeaturesRequest.Builder,SearchFeaturesRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<SearchFeaturesRequest.Builder>
-
from
The offset from the first result (for pagination).API name:
from -
prefix
A name prefix to filter features by.API name:
prefix -
size
The number of features to return.API name:
size -
store
The name of the feature store.API name:
store -
build
Builds aSearchFeaturesRequest.- Specified by:
buildin interfaceObjectBuilder<SearchFeaturesRequest>- Throws:
NullPointerException- if some of the required fields are null.
-