Class AllocationStore
java.lang.Object
co.elastic.clients.elasticsearch.cluster.allocation_explain.AllocationStore
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class AllocationStore extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AllocationStore.Builder
Builder forAllocationStore
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AllocationStore>
_DESERIALIZER
Json deserializer forAllocationStore
-
Constructor Summary
Constructors Constructor Description AllocationStore(AllocationStore.Builder builder)
AllocationStore(java.util.function.Function<AllocationStore.Builder,AllocationStore.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
allocationId()
Required - API name:allocation_id
boolean
found()
Required - API name:found
boolean
inSync()
Required - API name:in_sync
long
matchingSizeInBytes()
Required - API name:matching_size_in_bytes
boolean
matchingSyncId()
Required - API name:matching_sync_id
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
setupAllocationStoreDeserializer(DelegatingDeserializer<AllocationStore.Builder> op)
java.lang.String
storeException()
Required - API name:store_exception
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAllocationStore
-
-
Constructor Details
-
AllocationStore
-
AllocationStore
public AllocationStore(java.util.function.Function<AllocationStore.Builder,AllocationStore.Builder> fn)
-
-
Method Details
-
allocationId
public java.lang.String allocationId()Required - API name:allocation_id
-
found
public boolean found()Required - API name:found
-
inSync
public boolean inSync()Required - API name:in_sync
-
matchingSizeInBytes
public long matchingSizeInBytes()Required - API name:matching_size_in_bytes
-
matchingSyncId
public boolean matchingSyncId()Required - API name:matching_sync_id
-
storeException
public java.lang.String storeException()Required - API name:store_exception
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAllocationStoreDeserializer
protected static void setupAllocationStoreDeserializer(DelegatingDeserializer<AllocationStore.Builder> op)
-