Class DocStatus.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.DocStatus.Builder
- All Implemented Interfaces:
CopyableBuilder<DocStatus.Builder,,DocStatus> MutableBuilder<DocStatus.Builder,,DocStatus> ObjectBuilder<DocStatus>
- Enclosing class:
DocStatus
public static class DocStatus.Builder
extends ObjectBuilderBase
implements CopyableBuilder<DocStatus.Builder,DocStatus>
Builder for
DocStatus.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DocStatus.BuilderThe number of informational responses.final DocStatus.BuilderThe number of successful responses.final DocStatus.BuilderThe number of redirection responses.final DocStatus.BuilderThe number of client error responses.final DocStatus.BuilderThe number of server error responses.build()Builds aDocStatus.copy()Create a new builderCopyableBuilderthat is a copy of this one.Methods 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<DocStatus.Builder,DocStatus> - Returns:
- a new builder instance.
-
_1xx
The number of informational responses.API name:
1xx -
_2xx
The number of successful responses.API name:
2xx -
_3xx
The number of redirection responses.API name:
3xx -
_4xx
The number of client error responses.API name:
4xx -
_5xx
The number of server error responses.API name:
5xx -
build
Builds aDocStatus.- Specified by:
buildin interfaceObjectBuilder<DocStatus>- Throws:
NullPointerException- if some of the required fields are null.
-