@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableInviteUserEmailSet extends Object implements InviteUserEmailSet
InviteUserEmailSet
.
Use the builder to create immutable instances:
ImmutableInviteUserEmailSet.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableInviteUserEmailSet.Builder
Builds instances of type
ImmutableInviteUserEmailSet . |
Modifier and Type | Method and Description |
---|---|
static ImmutableInviteUserEmailSet.Builder |
builder()
Creates a builder for
ImmutableInviteUserEmailSet . |
static ImmutableInviteUserEmailSet |
copyOf(InviteUserEmailSet instance)
Creates an immutable copy of a
InviteUserEmailSet value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableInviteUserEmailSet that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
users . |
String |
toString()
Prints the immutable value
InviteUserEmailSet with attribute values. |
com.google.common.collect.ImmutableSet<String> |
users() |
ImmutableInviteUserEmailSet |
withUsers(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
users . |
ImmutableInviteUserEmailSet |
withUsers(String... elements)
Copy the current immutable object with elements that replace the content of
users . |
public com.google.common.collect.ImmutableSet<String> users()
users
in interface InviteUserEmailSet
users
attributepublic final ImmutableInviteUserEmailSet withUsers(String... elements)
users
.elements
- The elements to setthis
objectpublic final ImmutableInviteUserEmailSet withUsers(Iterable<String> elements)
users
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of users elements to setthis
objectpublic boolean equals(@Nullable Object another)
ImmutableInviteUserEmailSet
that have equal attribute values.public int hashCode()
users
.public String toString()
InviteUserEmailSet
with attribute values.public static ImmutableInviteUserEmailSet copyOf(InviteUserEmailSet instance)
InviteUserEmailSet
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 ImmutableInviteUserEmailSet.Builder builder()
ImmutableInviteUserEmailSet
.
ImmutableInviteUserEmailSet.builder()
.addUsers|addAllUsers(String) // users
elements
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.