Class AllocationStore
java.lang.Object
org.opensearch.client.opensearch.cluster.allocation_explain.AllocationStore
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<AllocationStore.Builder,AllocationStore>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AllocationStore
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<AllocationStore.Builder,AllocationStore>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AllocationStore> Json deserializer forAllocationStore -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - API name:allocation_idstatic AllocationStore.Builderbuilder()booleanfinal booleanfound()Required - API name:foundinthashCode()final booleaninSync()Required - API name:in_syncfinal longRequired - API name:matching_size_in_bytesfinal booleanRequired - API name:matching_sync_idstatic AllocationStorevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringRequired - API name:store_exceptionCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forAllocationStore
-
-
Method Details
-
of
public static AllocationStore of(Function<AllocationStore.Builder, ObjectBuilder<AllocationStore>> fn) -
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
Required - API name:store_exception -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AllocationStore.Builder,AllocationStore> - Returns:
- a new builder instance.
-
builder
-
setupAllocationStoreDeserializer
protected static void setupAllocationStoreDeserializer(ObjectDeserializer<AllocationStore.Builder> op) -
hashCode
public int hashCode() -
equals
-