Class Version2fSteno.Context.Builder

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

public static final class Version2fSteno.Context.Builder extends com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2fSteno.Context>
Builder implementation for Version2fSteno.Context.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Public constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called by json deserialization to store non-member elements of the json object.
    protected void
     
    setHost(String value)
    Sets the host field.

    Methods inherited from class com.arpnetworking.commons.builder.ThreadLocalBuilder

    build, build, buildGeneric, clone, clone

    Methods inherited from class com.arpnetworking.commons.builder.OvalBuilder

    clone, clone, construct, isSelfValidating, toString, validate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
      Public constructor.
  • Method Details

    • setHost

      public Version2fSteno.Context.Builder setHost(String value)
      Sets the host 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 otherContext field.
      Parameters:
      key - key
      value - value
    • reset

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