Class Version2c.Annotations.Builder
java.lang.Object
com.arpnetworking.commons.builder.OvalBuilder<T>
com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2c.Annotations>
com.arpnetworking.metrics.mad.model.json.Version2c.Annotations.Builder
- All Implemented Interfaces:
com.arpnetworking.commons.builder.Builder<Version2c.Annotations>
- Enclosing class:
- Version2c.Annotations
public static final class Version2c.Annotations.Builder
extends com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2c.Annotations>
Builder
implementation for
Version2c.Annotations
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleUnknown
(String key, Object value) Called by json deserialization to store non-member elements of the json object.protected void
reset()
setFinalTimestamp
(String value) Sets the finalTimestamp field.setInitTimestamp
(String value) Sets the initTimestamp 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
-
Constructor Details
-
Builder
public Builder()Public constructor.
-
-
Method Details
-
setInitTimestamp
Sets the initTimestamp field.- Parameters:
value
- Value- Returns:
- This builder
-
setFinalTimestamp
Sets the finalTimestamp field.- Parameters:
value
- Value- Returns:
- This builder
-
handleUnknown
Called by json deserialization to store non-member elements of the json object. Stores the value in the otherAnnotations field.- Parameters:
key
- keyvalue
- value
-
reset
protected void reset()- Specified by:
reset
in classcom.arpnetworking.commons.builder.ThreadLocalBuilder<Version2c.Annotations>
-