Class IoStatDevice.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • deviceName

      public final IoStatDevice.Builder deviceName(@Nullable String value)
      The Linux device name.

      API name: device_name

    • operations

      public final IoStatDevice.Builder operations(@Nullable Long value)
      The total number of read and write operations for the device completed since starting Elasticsearch.

      API name: operations

    • readKilobytes

      public final IoStatDevice.Builder readKilobytes(@Nullable Long value)
      The total number of kilobytes read for the device since starting Elasticsearch.

      API name: read_kilobytes

    • readOperations

      public final IoStatDevice.Builder readOperations(@Nullable Long value)
      The total number of read operations for the device completed since starting Elasticsearch.

      API name: read_operations

    • writeKilobytes

      public final IoStatDevice.Builder writeKilobytes(@Nullable Long value)
      The total number of kilobytes written for the device since starting Elasticsearch.

      API name: write_kilobytes

    • writeOperations

      public final IoStatDevice.Builder writeOperations(@Nullable Long value)
      The total number of write operations for the device completed since starting Elasticsearch.

      API name: write_operations

    • self

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

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