Class Breaker.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • estimatedSize

      public final Breaker.Builder estimatedSize​(@Nullable java.lang.String value)
      API name: estimated_size
    • estimatedSizeInBytes

      public final Breaker.Builder estimatedSizeInBytes​(@Nullable java.lang.Long value)
      API name: estimated_size_in_bytes
    • limitSize

      public final Breaker.Builder limitSize​(@Nullable java.lang.String value)
      API name: limit_size
    • limitSizeInBytes

      public final Breaker.Builder limitSizeInBytes​(@Nullable java.lang.Long value)
      API name: limit_size_in_bytes
    • overhead

      public final Breaker.Builder overhead​(@Nullable java.lang.Float value)
      API name: overhead
    • tripped

      public final Breaker.Builder tripped​(@Nullable java.lang.Float value)
      API name: tripped
    • self

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

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