Class DataPathStats.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • available

      public final DataPathStats.Builder available(@Nullable String value)
      Total amount of disk space available to this Java virtual machine on this file store.

      API name: available

    • availableInBytes

      public final DataPathStats.Builder availableInBytes(@Nullable Long value)
      Total number of bytes available to this Java virtual machine on this file store.

      API name: available_in_bytes

    • diskQueue

      public final DataPathStats.Builder diskQueue(@Nullable String value)
      API name: disk_queue
    • diskReads

      public final DataPathStats.Builder diskReads(@Nullable Long value)
      API name: disk_reads
    • diskReadSize

      public final DataPathStats.Builder diskReadSize(@Nullable String value)
      API name: disk_read_size
    • diskReadSizeInBytes

      public final DataPathStats.Builder diskReadSizeInBytes(@Nullable Long value)
      API name: disk_read_size_in_bytes
    • diskWrites

      public final DataPathStats.Builder diskWrites(@Nullable Long value)
      API name: disk_writes
    • diskWriteSize

      public final DataPathStats.Builder diskWriteSize(@Nullable String value)
      API name: disk_write_size
    • diskWriteSizeInBytes

      public final DataPathStats.Builder diskWriteSizeInBytes(@Nullable Long value)
      API name: disk_write_size_in_bytes
    • free

      public final DataPathStats.Builder free(@Nullable String value)
      Total amount of unallocated disk space in the file store.

      API name: free

    • freeInBytes

      public final DataPathStats.Builder freeInBytes(@Nullable Long value)
      Total number of unallocated bytes in the file store.

      API name: free_in_bytes

    • lowWatermarkFreeSpace

      public final DataPathStats.Builder lowWatermarkFreeSpace(@Nullable String value)
      The amount of free disk space that, once reached, triggers the low disk watermark.

      API name: low_watermark_free_space

    • lowWatermarkFreeSpaceInBytes

      public final DataPathStats.Builder lowWatermarkFreeSpaceInBytes(@Nullable Long value)
      The amount of free disk space, in bytes, that, once reached, triggers the low disk watermark.

      API name: low_watermark_free_space_in_bytes

    • highWatermarkFreeSpace

      public final DataPathStats.Builder highWatermarkFreeSpace(@Nullable String value)
      The amount of free disk space that, once reached, triggers the high disk watermark.

      API name: high_watermark_free_space

    • highWatermarkFreeSpaceInBytes

      public final DataPathStats.Builder highWatermarkFreeSpaceInBytes(@Nullable Long value)
      The amount of free disk space, in bytes, that, once reached, triggers the high disk watermark.

      API name: high_watermark_free_space_in_bytes

    • floodStageFreeSpace

      public final DataPathStats.Builder floodStageFreeSpace(@Nullable String value)
      The amount of free disk space that, once reached, triggers the flood stage disk watermark.

      API name: flood_stage_free_space

    • floodStageFreeSpaceInBytes

      public final DataPathStats.Builder floodStageFreeSpaceInBytes(@Nullable Long value)
      The amount of free disk space, in bytes, that, once reached, triggers the flood stage disk watermark.

      API name: flood_stage_free_space_in_bytes

    • frozenFloodStageFreeSpace

      public final DataPathStats.Builder frozenFloodStageFreeSpace(@Nullable String value)
      The amount of free disk space that, once reached, triggers the frozen flood stage disk watermark.

      API name: frozen_flood_stage_free_space

    • frozenFloodStageFreeSpaceInBytes

      public final DataPathStats.Builder frozenFloodStageFreeSpaceInBytes(@Nullable Long value)
      The amount of free disk space, in bytes, that, once reached, triggers the frozen flood stage disk watermark.

      API name: frozen_flood_stage_free_space_in_bytes

    • mount

      public final DataPathStats.Builder mount(@Nullable String value)
      Mount point of the file store (for example: /dev/sda2).

      API name: mount

    • path

      public final DataPathStats.Builder path(@Nullable String value)
      Path to the file store.

      API name: path

    • total

      public final DataPathStats.Builder total(@Nullable String value)
      Total size of the file store.

      API name: total

    • totalInBytes

      public final DataPathStats.Builder totalInBytes(@Nullable Long value)
      Total size of the file store in bytes.

      API name: total_in_bytes

    • type

      public final DataPathStats.Builder type(@Nullable String value)
      Type of the file store (ex: ext4).

      API name: type

    • self

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

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