Class AllocationStore
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.allocation_explain.AllocationStore
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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_idstatic AllocationStoreof(java.util.function.Function<AllocationStore.Builder,ObjectBuilder<AllocationStore>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAllocationStoreDeserializer(ObjectDeserializer<AllocationStore.Builder> op)java.lang.StringstoreException()Required - API name:store_exception
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<AllocationStore> _DESERIALIZER
Json deserializer forAllocationStore
-
-
Method Detail
-
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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupAllocationStoreDeserializer
protected static void setupAllocationStoreDeserializer(ObjectDeserializer<AllocationStore.Builder> op)
-
-