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
  • Field Details

  • 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupClusterFileSystemDeserializer

      protected static void setupClusterFileSystemDeserializer​(ObjectDeserializer<ClusterFileSystem.Builder> op)