Class GetAllPitsRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<GetAllPitsRequest.Builder>
org.opensearch.client.opensearch.core.GetAllPitsRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<GetAllPitsRequest.Builder,,GetAllPitsRequest> MutableBuilder<GetAllPitsRequest.Builder,,GetAllPitsRequest> ObjectBuilder<GetAllPitsRequest>
- Enclosing class:
GetAllPitsRequest
public static class GetAllPitsRequest.Builder
extends RequestBase.AbstractBuilder<GetAllPitsRequest.Builder>
implements CopyableBuilder<GetAllPitsRequest.Builder,GetAllPitsRequest>
Builder for
GetAllPitsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetAllPitsRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected GetAllPitsRequest.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods 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<GetAllPitsRequest.Builder,GetAllPitsRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetAllPitsRequest.Builder>
-
build
Builds aGetAllPitsRequest.- Specified by:
buildin interfaceObjectBuilder<GetAllPitsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-