Class PutExperimentsResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.search_relevance.PutExperimentsResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<PutExperimentsResponse.Builder,,PutExperimentsResponse> MutableBuilder<PutExperimentsResponse.Builder,,PutExperimentsResponse> ObjectBuilder<PutExperimentsResponse>
- Enclosing class:
PutExperimentsResponse
public static class PutExperimentsResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<PutExperimentsResponse.Builder,PutExperimentsResponse>
Builder for
PutExperimentsResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPutExperimentsResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.experimentId(String value) API name:experiment_idexperimentResult(String value) API name:experiment_resultMethods 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<PutExperimentsResponse.Builder,PutExperimentsResponse> - Returns:
- a new builder instance.
-
experimentId
API name:experiment_id -
experimentResult
API name:experiment_result -
build
Builds aPutExperimentsResponse.- Specified by:
buildin interfaceObjectBuilder<PutExperimentsResponse>- Throws:
NullPointerException- if some of the required fields are null.
-