Class FileSystemTotal.Builder

All Implemented Interfaces:
WithJson<FileSystemTotal.Builder>, ObjectBuilder<FileSystemTotal>
Enclosing class:
FileSystemTotal

public static class FileSystemTotal.Builder extends WithJsonObjectBuilderBase<FileSystemTotal.Builder> implements ObjectBuilder<FileSystemTotal>
Builder for FileSystemTotal.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • available

      public final FileSystemTotal.Builder available(@Nullable String value)
      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 Elasticsearch node can utilise.

      API name: available

    • availableInBytes

      public final FileSystemTotal.Builder availableInBytes(@Nullable Long value)
      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 Elasticsearch node can utilise.

      API name: available_in_bytes

    • free

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

      API name: free

    • freeInBytes

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

      API name: free_in_bytes

    • total

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

      API name: total

    • totalInBytes

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

      API name: total_in_bytes

    • self

      protected FileSystemTotal.Builder self()
      Specified by:
      self in class WithJsonObjectBuilderBase<FileSystemTotal.Builder>
    • build

      public FileSystemTotal build()
      Builds a FileSystemTotal.
      Specified by:
      build in interface ObjectBuilder<FileSystemTotal>
      Throws:
      NullPointerException - if some of the required fields are null.