Class GetStateRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ingestion.GetStateRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetStateRequest.Builder,GetStateRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetStateRequest
extends RequestBase
implements ToCopyableBuilder<GetStateRequest.Builder,GetStateRequest>
Use this API to retrieve the ingestion state for a given index.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetStateRequest, GetStateResponse, ErrorResponse> Endpoint "ingestion.get_state". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static GetStateRequest.Builderbuilder()booleaninthashCode()final Stringindex()Required - Index for which ingestion state should be retrieved.final StringToken to retrieve the next page of results.static GetStateRequestfinal Integersize()Number of results to return per page.final Timetimeout()Timeout for the request.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "ingestion.get_state".
-
-
Method Details
-
of
public static GetStateRequest of(Function<GetStateRequest.Builder, ObjectBuilder<GetStateRequest>> fn) -
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 -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetStateRequest.Builder,GetStateRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-