Class ReservedSize
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.allocation_explain.ReservedSize
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ReservedSize extends java.lang.Object implements JsonpSerializable
-
-
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
All Methods Static Methods Instance Methods Concrete Methods 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:shardslongtotal()Required - API name:total
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ReservedSize> _DESERIALIZER
Json deserializer forReservedSize
-
-
Method Detail
-
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
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)
-
setupReservedSizeDeserializer
protected static void setupReservedSizeDeserializer(ObjectDeserializer<ReservedSize.Builder> op)
-
-