@NotThreadSafe public static final class ImmutableAgentConfigAndUpdateToken.Builder extends Object
ImmutableAgentConfigAndUpdateToken.
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 |
|---|---|
ImmutableAgentConfigAndUpdateToken |
build()
Builds a new
ImmutableAgentConfigAndUpdateToken. |
ImmutableAgentConfigAndUpdateToken.Builder |
config(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig config)
Initializes the value for the
config attribute. |
ImmutableAgentConfigAndUpdateToken.Builder |
copyFrom(AgentConfigDao.AgentConfigAndUpdateToken instance)
Fill a builder with attribute values from the provided
AgentConfigAndUpdateToken instance. |
ImmutableAgentConfigAndUpdateToken.Builder |
updateToken(UUID updateToken)
Initializes the value for the
updateToken attribute. |
public ImmutableAgentConfigAndUpdateToken build()
ImmutableAgentConfigAndUpdateToken.IllegalStateException - if any required attributes are missing@CanIgnoreReturnValue public final ImmutableAgentConfigAndUpdateToken.Builder config(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig config)
config attribute.config - The value for configthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableAgentConfigAndUpdateToken.Builder copyFrom(AgentConfigDao.AgentConfigAndUpdateToken instance)
AgentConfigAndUpdateToken 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 ImmutableAgentConfigAndUpdateToken.Builder updateToken(UUID updateToken)
updateToken attribute.updateToken - The value for updateToken (can be null)this builder for use in a chained invocationCopyright © 2011–2019 Glowroot contributors. All rights reserved.