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