Class RetryIndexRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ism.RetryIndexRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RetryIndexRequest.Builder,RetryIndexRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class RetryIndexRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<RetryIndexRequest.Builder,RetryIndexRequest>
Retries the failed action for an 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 JsonpDeserializer<RetryIndexRequest> Json deserializer forRetryIndexRequeststatic final Endpoint<RetryIndexRequest, RetryIndexResponse, ErrorResponse> Endpoint "ism.retry_index". -
Method Summary
Modifier and TypeMethodDescriptionstatic RetryIndexRequest.Builderbuilder()booleaninthashCode()final Stringindex()API name:indexstatic RetryIndexRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringstate()Required - The state to retry.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
applyQueryParameters, errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forRetryIndexRequest -
_ENDPOINT
Endpoint "ism.retry_index".
-
-
Method Details
-
of
public static RetryIndexRequest of(Function<RetryIndexRequest.Builder, ObjectBuilder<RetryIndexRequest>> fn) -
index
API name:index -
state
Required - The state to retry.API name:
state -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RetryIndexRequest.Builder,RetryIndexRequest> - Returns:
- a new builder instance.
-
builder
-
setupRetryIndexRequestDeserializer
protected static void setupRetryIndexRequestDeserializer(ObjectDeserializer<RetryIndexRequest.Builder> op) -
hashCode
public int hashCode() -
equals
-