Class PressureMemory.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • all

      public final PressureMemory.Builder all(@Nullable String value)
      Memory consumed by indexing requests in the coordinating, primary, or replica stage.

      API name: all

    • allInBytes

      public final PressureMemory.Builder allInBytes(@Nullable Long value)
      Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.

      API name: all_in_bytes

    • combinedCoordinatingAndPrimary

      public final PressureMemory.Builder combinedCoordinatingAndPrimary(@Nullable String value)
      Memory consumed by indexing requests in the coordinating or primary stage. This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.

      API name: combined_coordinating_and_primary

    • combinedCoordinatingAndPrimaryInBytes

      public final PressureMemory.Builder combinedCoordinatingAndPrimaryInBytes(@Nullable Long value)
      Memory consumed, in bytes, by indexing requests in the coordinating or primary stage. This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.

      API name: combined_coordinating_and_primary_in_bytes

    • coordinating

      public final PressureMemory.Builder coordinating(@Nullable String value)
      Memory consumed by indexing requests in the coordinating stage.

      API name: coordinating

    • coordinatingInBytes

      public final PressureMemory.Builder coordinatingInBytes(@Nullable Long value)
      Memory consumed, in bytes, by indexing requests in the coordinating stage.

      API name: coordinating_in_bytes

    • primary

      public final PressureMemory.Builder primary(@Nullable String value)
      Memory consumed by indexing requests in the primary stage.

      API name: primary

    • primaryInBytes

      public final PressureMemory.Builder primaryInBytes(@Nullable Long value)
      Memory consumed, in bytes, by indexing requests in the primary stage.

      API name: primary_in_bytes

    • replica

      public final PressureMemory.Builder replica(@Nullable String value)
      Memory consumed by indexing requests in the replica stage.

      API name: replica

    • replicaInBytes

      public final PressureMemory.Builder replicaInBytes(@Nullable Long value)
      Memory consumed, in bytes, by indexing requests in the replica stage.

      API name: replica_in_bytes

    • coordinatingRejections

      public final PressureMemory.Builder coordinatingRejections(@Nullable Long value)
      Number of indexing requests rejected in the coordinating stage.

      API name: coordinating_rejections

    • primaryRejections

      public final PressureMemory.Builder primaryRejections(@Nullable Long value)
      Number of indexing requests rejected in the primary stage.

      API name: primary_rejections

    • replicaRejections

      public final PressureMemory.Builder replicaRejections(@Nullable Long value)
      Number of indexing requests rejected in the replica stage.

      API name: replica_rejections

    • self

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

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