@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableInsightRole extends InsightRole
InsightRole.
Use the builder to create immutable instances:
ImmutableInsightRole.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableInsightRole.Builder
Builds instances of type
ImmutableInsightRole. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableInsightRole.Builder |
builder()
Creates a builder for
ImmutableInsightRole. |
static ImmutableInsightRole |
copyOf(InsightRole instance)
Creates an immutable copy of a
InsightRole value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableInsightRole that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
insightRole. |
String |
insightRole() |
String |
toString()
Prints the immutable value
InsightRole with attribute values. |
ImmutableInsightRole |
withInsightRole(String value)
Copy the current immutable object by setting a value for the
insightRole attribute. |
public String insightRole()
insightRole in class InsightRoleinsightRole attributepublic final ImmutableInsightRole withInsightRole(String value)
insightRole attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for insightRolethis objectpublic boolean equals(@Nullable Object another)
ImmutableInsightRole that have equal attribute values.public int hashCode()
insightRole.public String toString()
InsightRole with attribute values.public static ImmutableInsightRole copyOf(InsightRole instance)
InsightRole 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 ImmutableInsightRole.Builder builder()
ImmutableInsightRole.
ImmutableInsightRole.builder()
.setInsightRole(String) // required insightRole
.build();
Copyright © 2023 Atlassian. All rights reserved.