Class ActionRetry
java.lang.Object
org.opensearch.client.opensearch.ism.ActionRetry
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ActionRetry.Builder,ActionRetry>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ActionRetry
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ActionRetry.Builder,ActionRetry>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ActionRetry> Json deserializer forActionRetry -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringbackoff()The backoff strategy for retries.static ActionRetry.Builderbuilder()final Integercount()The number of retry attempts.final Stringdelay()The delay between retry attempts.booleaninthashCode()static ActionRetryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods 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 forActionRetry
-
-
Method Details
-
of
-
backoff
The backoff strategy for retries.API name:
backoff -
count
The number of retry attempts.API name:
count -
delay
The delay between retry attempts.API name:
delay -
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<ActionRetry.Builder,ActionRetry> - Returns:
- a new builder instance.
-
builder
-
setupActionRetryDeserializer
-
hashCode
public int hashCode() -
equals
-