@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableAgentConfigAndUpdateToken extends Object implements AgentConfigDao.AgentConfigAndUpdateToken
AgentConfigDao.AgentConfigAndUpdateToken.
Use the builder to create immutable instances:
ImmutableAgentConfigAndUpdateToken.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableAgentConfigAndUpdateToken.Builder
Builds instances of type
ImmutableAgentConfigAndUpdateToken. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableAgentConfigAndUpdateToken.Builder |
builder()
Creates a builder for
ImmutableAgentConfigAndUpdateToken. |
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig |
config() |
static ImmutableAgentConfigAndUpdateToken |
copyOf(AgentConfigDao.AgentConfigAndUpdateToken instance)
Creates an immutable copy of a
AgentConfigDao.AgentConfigAndUpdateToken value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableAgentConfigAndUpdateToken that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
config, updateToken. |
String |
toString()
Prints the immutable value
AgentConfigAndUpdateToken with attribute values. |
UUID |
updateToken() |
ImmutableAgentConfigAndUpdateToken |
withConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value)
Copy the current immutable object by setting a value for the
config attribute. |
ImmutableAgentConfigAndUpdateToken |
withUpdateToken(UUID value)
Copy the current immutable object by setting a value for the
updateToken attribute. |
public static ImmutableAgentConfigAndUpdateToken.Builder builder()
ImmutableAgentConfigAndUpdateToken.
ImmutableAgentConfigAndUpdateToken.builder()
.config(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig) // required config
.updateToken(@org.checkerframework.checker.nullness.qual.Nullable UUID | null) // nullable updateToken
.build();
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig config()
config in interface AgentConfigDao.AgentConfigAndUpdateTokenconfig attributepublic static ImmutableAgentConfigAndUpdateToken copyOf(AgentConfigDao.AgentConfigAndUpdateToken instance)
AgentConfigDao.AgentConfigAndUpdateToken value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic boolean equals(@Nullable Object another)
ImmutableAgentConfigAndUpdateToken that have equal attribute values.public int hashCode()
config, updateToken.public String toString()
AgentConfigAndUpdateToken with attribute values.public UUID updateToken()
updateToken in interface AgentConfigDao.AgentConfigAndUpdateTokenupdateToken attributepublic final ImmutableAgentConfigAndUpdateToken withConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value)
config attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for configthis objectpublic final ImmutableAgentConfigAndUpdateToken withUpdateToken(UUID value)
updateToken attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for updateToken (can be null)this objectCopyright © 2011–2019 Glowroot contributors. All rights reserved.