Class Version2d.Annotations.Builder

java.lang.Object
com.arpnetworking.commons.builder.OvalBuilder<T>
com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2d.Annotations>
com.arpnetworking.metrics.mad.model.json.Version2d.Annotations.Builder
All Implemented Interfaces:
com.arpnetworking.commons.builder.Builder<Version2d.Annotations>
Enclosing class:
Version2d.Annotations

public static final class Version2d.Annotations.Builder extends com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2d.Annotations>
Builder implementation for Version2d.Annotations.
  • Constructor Details

    • Builder

      public Builder()
      Public constructor.
  • Method Details

    • setInitTimestamp

      public Version2d.Annotations.Builder setInitTimestamp(ZonedDateTime value)
      Sets the initTimestamp field.
      Parameters:
      value - Value
      Returns:
      This builder
    • setFinalTimestamp

      public Version2d.Annotations.Builder setFinalTimestamp(ZonedDateTime value)
      Sets the finalTimestamp field.
      Parameters:
      value - Value
      Returns:
      This builder
    • handleUnknown

      public void handleUnknown(String key, Object value)
      Called by json deserialization to store non-member elements of the json object. Stores the value in the otherAnnotations field.
      Parameters:
      key - key
      value - value
    • reset

      protected void reset()
      Specified by:
      reset in class com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2d.Annotations>