Class GetExperimentsResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.search_relevance.GetExperimentsResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<GetExperimentsResponse.Builder,,GetExperimentsResponse> MutableBuilder<GetExperimentsResponse.Builder,,GetExperimentsResponse> ObjectBuilder<GetExperimentsResponse>
- Enclosing class:
GetExperimentsResponse
public static class GetExperimentsResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GetExperimentsResponse.Builder,GetExperimentsResponse>
Builder for
GetExperimentsResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetExperimentsResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:hitsAPI name:hitsAPI name:idjudgmentList(String value, String... values) API name:judgmentListjudgmentList(List<String> list) API name:judgmentListquerySetId(String value) API name:querySetIdAPI name:resultsAPI name:resultssearchConfigurationList(String value, String... values) API name:searchConfigurationListsearchConfigurationList(List<String> list) API name:searchConfigurationListAPI name:_shardsAPI name:_shardsAPI name:sizeAPI name:statusAPI name:timed_outAPI name:timestampAPI name:tookAPI name:typeMethods 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<GetExperimentsResponse.Builder,GetExperimentsResponse> - 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 -
judgmentList
API name:judgmentListAdds all elements of
listtojudgmentList. -
judgmentList
API name:judgmentListAdds one or more values to
judgmentList. -
querySetId
API name:querySetId -
results
API name:resultsAdds all elements of
maptoresults. -
results
API name:resultsAdds an entry to
results. -
searchConfigurationList
API name:searchConfigurationListAdds all elements of
listtosearchConfigurationList. -
searchConfigurationList
@Nonnull public final GetExperimentsResponse.Builder searchConfigurationList(String value, String... values) API name:searchConfigurationListAdds one or more values to
searchConfigurationList. -
shards
API name:_shardsAdds all elements of
maptoshards. -
shards
API name:_shardsAdds an entry to
shards. -
size
API name:size -
status
API name:status -
timedOut
API name:timed_out -
timestamp
API name:timestamp -
took
API name:took -
type
API name:type -
build
Builds aGetExperimentsResponse.- Specified by:
buildin interfaceObjectBuilder<GetExperimentsResponse>- Throws:
NullPointerException- if some of the required fields are null.
-