Class DeletedPit.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.pit.DeletedPit.Builder
- All Implemented Interfaces:
CopyableBuilder<DeletedPit.Builder,,DeletedPit> MutableBuilder<DeletedPit.Builder,,DeletedPit> ObjectBuilder<DeletedPit>
- Enclosing class:
DeletedPit
public static class DeletedPit.Builder
extends ObjectBuilderBase
implements CopyableBuilder<DeletedPit.Builder,DeletedPit>
Builder for
DeletedPit.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeletedPit.copy()Create a new builderCopyableBuilderthat is a copy of this one.final DeletedPit.BuilderAPI name:pit_idfinal DeletedPit.Buildersuccessful(Boolean value) API name:successfulMethods 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<DeletedPit.Builder,DeletedPit> - Returns:
- a new builder instance.
-
pitId
API name:pit_id -
successful
API name:successful -
build
Builds aDeletedPit.- Specified by:
buildin interfaceObjectBuilder<DeletedPit>- Throws:
NullPointerException- if some of the required fields are null.
-