Class GetStateRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<GetStateRequest.Builder>
org.opensearch.client.opensearch.ingestion.GetStateRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<GetStateRequest.Builder,,GetStateRequest> MutableBuilder<GetStateRequest.Builder,,GetStateRequest> ObjectBuilder<GetStateRequest>
- Enclosing class:
GetStateRequest
public static class GetStateRequest.Builder
extends RequestBase.AbstractBuilder<GetStateRequest.Builder>
implements CopyableBuilder<GetStateRequest.Builder,GetStateRequest>
Builder for
GetStateRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetStateRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.final GetStateRequest.BuilderRequired - Index for which ingestion state should be retrieved.final GetStateRequest.BuilderToken to retrieve the next page of results.protected GetStateRequest.Builderself()final GetStateRequest.BuilderNumber of results to return per page.final GetStateRequest.BuilderTimeout for the request.final GetStateRequest.BuilderTimeout for the request.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<GetStateRequest.Builder,GetStateRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetStateRequest.Builder>
-
index
Required - Index for which ingestion state should be retrieved.API name:
index -
nextToken
Token to retrieve the next page of results.API name:
next_token -
size
Number of results to return per page.API name:
size -
timeout
Timeout for the request.API name:
timeout -
timeout
@Nonnull public final GetStateRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Timeout for the request.API name:
timeout -
build
Builds aGetStateRequest.- Specified by:
buildin interfaceObjectBuilder<GetStateRequest>- Throws:
NullPointerException- if some of the required fields are null.
-