Class Version2g.Builder
java.lang.Object
com.arpnetworking.commons.builder.OvalBuilder<T>
com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2g>
com.arpnetworking.metrics.mad.model.json.Version2g.Builder
- All Implemented Interfaces:
com.arpnetworking.commons.builder.Builder<Version2g>
- Enclosing class:
- Version2g
public static final class Version2g.Builder
extends com.arpnetworking.commons.builder.ThreadLocalBuilder<Version2g>
Builder
implementation for
Version2g
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
reset()
setAnnotations
(com.google.common.collect.ImmutableMap<String, String> value) Sets the annotations field.setCounters
(com.google.common.collect.ImmutableMap<String, Version2g.Element> value) Sets the counters field.setDimensions
(com.google.common.collect.ImmutableMap<String, String> value) Sets the dimensions field.setEnd
(ZonedDateTime value) Sets the end field.setGauges
(com.google.common.collect.ImmutableMap<String, Version2g.Element> value) Sets the gauges field.Sets the id field.setStart
(ZonedDateTime value) Sets the start field.setTimers
(com.google.common.collect.ImmutableMap<String, Version2g.Element> value) Sets the timers field.setVersion
(String value) Sets the version 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
-
setAnnotations
public Version2g.Builder setAnnotations(com.google.common.collect.ImmutableMap<String, String> value) Sets the annotations field.- Parameters:
value
- Value- Returns:
- This builder
-
setDimensions
Sets the dimensions field.- Parameters:
value
- Value- Returns:
- This builder
-
setVersion
Sets the version field.- Parameters:
value
- Value- Returns:
- This builder
-
setCounters
public Version2g.Builder setCounters(com.google.common.collect.ImmutableMap<String, Version2g.Element> value) Sets the counters field.- Parameters:
value
- Value- Returns:
- This builder
-
setTimers
public Version2g.Builder setTimers(com.google.common.collect.ImmutableMap<String, Version2g.Element> value) Sets the timers field.- Parameters:
value
- Value- Returns:
- This builder
-
setGauges
public Version2g.Builder setGauges(com.google.common.collect.ImmutableMap<String, Version2g.Element> value) Sets the gauges field.- Parameters:
value
- Value- Returns:
- This builder
-
reset
protected void reset()- Specified by:
reset
in classcom.arpnetworking.commons.builder.ThreadLocalBuilder<Version2g>
-