@NotThreadSafe public static final class ImmutableSyntheticResultRollup0.Builder extends Object
ImmutableSyntheticResultRollup0.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableSyntheticResultRollup0 |
build()
Builds a new
ImmutableSyntheticResultRollup0. |
ImmutableSyntheticResultRollup0.Builder |
captureTime(long captureTime)
Initializes the value for the
captureTime attribute. |
ImmutableSyntheticResultRollup0.Builder |
copyFrom(SyntheticResultDao.SyntheticResultRollup0 instance)
Fill a builder with attribute values from the provided
SyntheticResultRollup0 instance. |
ImmutableSyntheticResultRollup0.Builder |
error(boolean error)
Initializes the value for the
error attribute. |
ImmutableSyntheticResultRollup0.Builder |
totalDurationNanos(double totalDurationNanos)
Initializes the value for the
totalDurationNanos attribute. |
public ImmutableSyntheticResultRollup0 build()
ImmutableSyntheticResultRollup0.IllegalStateException - if any required attributes are missing@CanIgnoreReturnValue public final ImmutableSyntheticResultRollup0.Builder captureTime(long captureTime)
captureTime attribute.captureTime - The value for captureTimethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSyntheticResultRollup0.Builder copyFrom(SyntheticResultDao.SyntheticResultRollup0 instance)
SyntheticResultRollup0 instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSyntheticResultRollup0.Builder error(boolean error)
error attribute.error - The value for errorthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableSyntheticResultRollup0.Builder totalDurationNanos(double totalDurationNanos)
totalDurationNanos attribute.totalDurationNanos - The value for totalDurationNanosthis builder for use in a chained invocationCopyright © 2011–2019 Glowroot contributors. All rights reserved.