Class Version2f.Annotations.Builder
java.lang.Object
com.arpnetworking.commons.builder.OvalBuilder<T>
com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2f.Annotations>
com.arpnetworking.metrics.mad.model.json.Version2f.Annotations.Builder
- All Implemented Interfaces:
com.arpnetworking.commons.builder.Builder<Version2f.Annotations>
- Enclosing class:
- Version2f.Annotations
public static final class Version2f.Annotations.Builder
extends com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2f.Annotations>
Builder
implementation for
Version2f.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()
setEnd
(ZonedDateTime value) Sets the end field.Sets the id field.setStart
(ZonedDateTime value) Sets the start 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
-
setStart
Sets the start field.- Parameters:
value
- Value- Returns:
- This builder
-
setEnd
Sets the end field.- Parameters:
value
- Value- Returns:
- This builder
-
setId
Sets the id 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<Version2f.Annotations>
-