Class ReservedSize
java.lang.Object
co.elastic.clients.elasticsearch.cluster.allocation_explain.ReservedSize
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ReservedSize extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReservedSize.BuilderBuilder forReservedSize. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ReservedSize>_DESERIALIZERJson deserializer forReservedSize -
Method Summary
Modifier and Type Method Description java.lang.StringnodeId()Required - API name:node_idstatic ReservedSizeof(java.util.function.Function<ReservedSize.Builder,ObjectBuilder<ReservedSize>> fn)java.lang.Stringpath()Required - API name:pathvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupReservedSizeDeserializer(ObjectDeserializer<ReservedSize.Builder> op)java.util.List<java.lang.String>shards()Required - API name:shardsjava.lang.StringtoString()longtotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forReservedSize
-
-
Method Details
-
of
public static ReservedSize of(java.util.function.Function<ReservedSize.Builder,ObjectBuilder<ReservedSize>> fn) -
nodeId
public final java.lang.String nodeId()Required - API name:node_id -
path
public final java.lang.String path()Required - API name:path -
total
public final long total()Required - API name:total -
shards
public final java.util.List<java.lang.String> shards()Required - API name:shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupReservedSizeDeserializer
-