@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","AclTokenId"}) @Immutable public final class ImmutableAclTokenId extends AclTokenId
AclTokenId.
Use the builder to create immutable instances:
ImmutableAclTokenId.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableAclTokenId.Builder
Builds instances of type
ImmutableAclTokenId. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableAclTokenId.Builder |
builder()
Creates a builder for
ImmutableAclTokenId. |
static ImmutableAclTokenId |
copyOf(AclTokenId instance)
Creates an immutable copy of a
AclTokenId value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableAclTokenId that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
id. |
String |
id() |
String |
toString()
Prints the immutable value
AclTokenId with attribute values. |
ImmutableAclTokenId |
withId(String value)
Copy the current immutable object by setting a value for the
id attribute. |
public String id()
id in class AclTokenIdid attributepublic final ImmutableAclTokenId withId(String value)
id attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for idthis objectpublic boolean equals(@Nullable Object another)
ImmutableAclTokenId that have equal attribute values.public int hashCode()
id.public String toString()
AclTokenId with attribute values.public static ImmutableAclTokenId copyOf(AclTokenId instance)
AclTokenId 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 static ImmutableAclTokenId.Builder builder()
ImmutableAclTokenId.Copyright © 2018. All rights reserved.