Class Retries
java.lang.Object
co.elastic.clients.elasticsearch._types.Retries
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Retries extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Retries.Builder
Builder forRetries
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Retries>
_DESERIALIZER
Json deserializer forRetries
-
Constructor Summary
Constructors Constructor Description Retries(Retries.Builder builder)
Retries(java.util.function.Function<Retries.Builder,Retries.Builder> fn)
-
Method Summary
Modifier and Type Method Description long
bulk()
Required - API name:bulk
long
search()
Required - API name:search
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupRetriesDeserializer(DelegatingDeserializer<Retries.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRetries
-
-
Constructor Details
-
Retries
-
Retries
-
-
Method Details
-
bulk
public long bulk()Required - API name:bulk
-
search
public long search()Required - API name:search
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupRetriesDeserializer
-