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 classAllocationStore.BuilderBuilder forAllocationStore. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AllocationStore>_DESERIALIZERJson 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.StringallocationId()Required - API name:allocation_idbooleanfound()Required - API name:foundbooleaninSync()Required - API name:in_synclongmatchingSizeInBytes()Required - API name:matching_size_in_bytesbooleanmatchingSyncId()Required - API name:matching_sync_idvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAllocationStoreDeserializer(DelegatingDeserializer<AllocationStore.Builder> op)java.lang.StringstoreException()Required - API name:store_exceptionMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAllocationStoreDeserializer
protected static void setupAllocationStoreDeserializer(DelegatingDeserializer<AllocationStore.Builder> op)
-