Class FileSystemTotal

java.lang.Object
org.opensearch.client.opensearch.nodes.stats.FileSystemTotal
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<FileSystemTotal.Builder,FileSystemTotal>

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class FileSystemTotal extends Object implements PlainJsonSerializable, ToCopyableBuilder<FileSystemTotal.Builder,FileSystemTotal>
  • Field Details

  • Method Details

    • of

    • available

      @Nullable public final String available()
      Total disk space available to this Java virtual machine on all file stores. Depending on OS or process level restrictions, this might appear less than free. This is the actual amount of free disk space the OpenSearch node can utilize.

      API name: available

    • availableInBytes

      @Nullable public final Long availableInBytes()
      Total number of bytes available to this Java virtual machine on all file stores. Depending on OS or process level restrictions, this might appear less than free_in_bytes. This is the actual amount of free disk space the OpenSearch node can utilize.

      API name: available_in_bytes

    • cacheReserved

      @Nullable public final String cacheReserved()
      Total size of cache bytes reserved in all file stores.

      API name: cache_reserved

    • cacheReservedInBytes

      @Nullable public final Long cacheReservedInBytes()
      Total size of cache bytes reserved in all file stores.

      API name: cache_reserved_in_bytes

    • free

      @Nullable public final String free()
      Total unallocated disk space in all file stores.

      API name: free

    • freeInBytes

      @Nullable public final Long freeInBytes()
      Total number of unallocated bytes in all file stores.

      API name: free_in_bytes

    • total

      @Nullable public final String total()
      Total size of all file stores.

      API name: total

    • totalInBytes

      @Nullable public final Long totalInBytes()
      Total size of all file stores in bytes.

      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)
    • toBuilder

      @Nonnull public FileSystemTotal.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<FileSystemTotal.Builder,FileSystemTotal>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static FileSystemTotal.Builder builder()
    • setupFileSystemTotalDeserializer

      protected static void setupFileSystemTotalDeserializer(ObjectDeserializer<FileSystemTotal.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object