Class Retries
java.lang.Object
org.opensearch.client.opensearch._types.Retries
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Retries.Builder,Retries>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Retries
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Retries.Builder,Retries>
The retry statistics for bulk and search operations.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Retries> Json deserializer forRetries -
Method Summary
Modifier and TypeMethodDescriptionstatic Retries.Builderbuilder()final longbulk()Required - The number of bulk operation retries.booleaninthashCode()static Retriesfinal longsearch()Required - The number of search operation retries.voidserialize(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 forRetries
-
-
Method Details
-
of
-
bulk
public final long bulk()Required - The number of bulk operation retries.API name:
bulk -
search
public final long search()Required - The number of search operation retries.API name:
search -
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<Retries.Builder,Retries> - Returns:
- a new builder instance.
-
builder
-
setupRetriesDeserializer
-
hashCode
public int hashCode() -
equals
-