Class ClusterFileSystem
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterFileSystem
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterFileSystem extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description long
availableInBytes()
Required - API name:available_in_bytes
long
freeInBytes()
Required - API name:free_in_bytes
static ClusterFileSystem
of(java.util.function.Function<ClusterFileSystem.Builder,ObjectBuilder<ClusterFileSystem>> fn)
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(ObjectDeserializer<ClusterFileSystem.Builder> op)
java.lang.String
toString()
long
totalInBytes()
Required - API name:total_in_bytes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterFileSystem
-
-
Method Details
-
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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupClusterFileSystemDeserializer
protected static void setupClusterFileSystemDeserializer(ObjectDeserializer<ClusterFileSystem.Builder> op)
-