Class ClusterFileSystem
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterFileSystem
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ClusterFileSystem extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterFileSystem.Builder
Builder forClusterFileSystem
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterFileSystem>
_DESERIALIZER
Json deserializer forClusterFileSystem
-
Constructor Summary
Constructors Constructor Description ClusterFileSystem(ClusterFileSystem.Builder builder)
ClusterFileSystem(java.util.function.Function<ClusterFileSystem.Builder,ClusterFileSystem.Builder> fn)
-
Method Summary
Modifier and Type Method Description long
availableInBytes()
Required - API name:available_in_bytes
long
freeInBytes()
Required - API name:free_in_bytes
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupClusterFileSystemDeserializer(DelegatingDeserializer<ClusterFileSystem.Builder> op)
long
totalInBytes()
Required - API name:total_in_bytes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterFileSystem
-
-
Constructor Details
-
ClusterFileSystem
-
ClusterFileSystem
public ClusterFileSystem(java.util.function.Function<ClusterFileSystem.Builder,ClusterFileSystem.Builder> fn)
-
-
Method Details
-
availableInBytes
public long availableInBytes()Required - API name:available_in_bytes
-
freeInBytes
public long freeInBytes()Required - API name:free_in_bytes
-
totalInBytes
public long totalInBytes()Required - API name:total_in_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupClusterFileSystemDeserializer
protected static void setupClusterFileSystemDeserializer(DelegatingDeserializer<ClusterFileSystem.Builder> op)
-