Class DataPathStats.Builder

java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.DataPathStats.Builder
All Implemented Interfaces:
CopyableBuilder<DataPathStats.Builder,DataPathStats>, MutableBuilder<DataPathStats.Builder,DataPathStats>, ObjectBuilder<DataPathStats>
Enclosing class:
DataPathStats

public static class DataPathStats.Builder extends ObjectBuilderBase implements CopyableBuilder<DataPathStats.Builder,DataPathStats>
Builder for DataPathStats.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • copy

      @Nonnull public DataPathStats.Builder copy()
      Description copied from interface: CopyableBuilder
      Create a new builder CopyableBuilder that is a copy of this one.
      Specified by:
      copy in interface CopyableBuilder<DataPathStats.Builder,DataPathStats>
      Returns:
      a new builder instance.
    • available

      @Nonnull 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

      @Nonnull 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

    • cacheReserved

      @Nonnull public final DataPathStats.Builder cacheReserved(@Nullable String value)
      Total number of cache bytes reserved available to this Java virtual machine on this file store.

      API name: cache_reserved

    • cacheReservedInBytes

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

      API name: cache_reserved_in_bytes

    • free

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

      API name: free

    • freeInBytes

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

      API name: free_in_bytes

    • mount

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

      API name: mount

    • path

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

      API name: path

    • total

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

      API name: total

    • totalInBytes

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

      API name: total_in_bytes

    • type

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

      API name: type

    • build

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