Class ClusterFileSystem
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.stats.ClusterFileSystem
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterFileSystem extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterFileSystem.BuilderBuilder forClusterFileSystem.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterFileSystem>_DESERIALIZERJson deserializer forClusterFileSystem
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longavailableInBytes()Required - API name:available_in_byteslongfreeInBytes()Required - API name:free_in_bytesstatic ClusterFileSystemof(java.util.function.Function<ClusterFileSystem.Builder,ObjectBuilder<ClusterFileSystem>> 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 voidsetupClusterFileSystemDeserializer(ObjectDeserializer<ClusterFileSystem.Builder> op)longtotalInBytes()Required - API name:total_in_bytes
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClusterFileSystem> _DESERIALIZER
Json deserializer forClusterFileSystem
-
-
Method Detail
-
of
public static ClusterFileSystem of(java.util.function.Function<ClusterFileSystem.Builder,ObjectBuilder<ClusterFileSystem>> fn)
-
availableInBytes
public final long availableInBytes()
Required - API name:available_in_bytes
-
freeInBytes
public final long freeInBytes()
Required - API name:free_in_bytes
-
totalInBytes
public final long totalInBytes()
Required - API name:total_in_bytes
-
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)
-
setupClusterFileSystemDeserializer
protected static void setupClusterFileSystemDeserializer(ObjectDeserializer<ClusterFileSystem.Builder> op)
-
-