Class GetSearchConfigurationsResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.search_relevance.GetSearchConfigurationsResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<GetSearchConfigurationsResponse.Builder,,GetSearchConfigurationsResponse> MutableBuilder<GetSearchConfigurationsResponse.Builder,,GetSearchConfigurationsResponse> ObjectBuilder<GetSearchConfigurationsResponse>
- Enclosing class:
GetSearchConfigurationsResponse
public static class GetSearchConfigurationsResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GetSearchConfigurationsResponse.Builder,GetSearchConfigurationsResponse>
Builder for
GetSearchConfigurationsResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetSearchConfigurationsResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:hitsAPI name:hitsAPI name:idAPI name:indexAPI name:nameAPI name:querysearchPipeline(String value) API name:searchPipelineAPI name:_shardsAPI name:_shardsAPI name:timed_outAPI name:timestampAPI name:tookMethods 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<GetSearchConfigurationsResponse.Builder,GetSearchConfigurationsResponse> - Returns:
- a new builder instance.
-
hits
API name:hitsAdds all elements of
maptohits. -
hits
API name:hitsAdds an entry to
hits. -
id
API name:id -
index
API name:index -
name
API name:name -
query
API name:query -
searchPipeline
@Nonnull public final GetSearchConfigurationsResponse.Builder searchPipeline(@Nullable String value) API name:searchPipeline -
shards
API name:_shardsAdds all elements of
maptoshards. -
shards
API name:_shardsAdds an entry to
shards. -
timedOut
API name:timed_out -
timestamp
API name:timestamp -
took
API name:took -
build
Builds aGetSearchConfigurationsResponse.- Specified by:
buildin interfaceObjectBuilder<GetSearchConfigurationsResponse>- Throws:
NullPointerException- if some of the required fields are null.
-