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