Class Pool.Builder

java.lang.Object
All Implemented Interfaces:
WithJson<Pool.Builder>, ObjectBuilder<Pool>
Enclosing class:
Pool

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

    • Builder

      public Builder()
  • Method Details

    • usedInBytes

      public final Pool.Builder usedInBytes​(@Nullable java.lang.Long value)
      API name: used_in_bytes
    • maxInBytes

      public final Pool.Builder maxInBytes​(@Nullable java.lang.Long value)
      API name: max_in_bytes
    • peakUsedInBytes

      public final Pool.Builder peakUsedInBytes​(@Nullable java.lang.Long value)
      API name: peak_used_in_bytes
    • peakMaxInBytes

      public final Pool.Builder peakMaxInBytes​(@Nullable java.lang.Long value)
      API name: peak_max_in_bytes
    • self

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

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