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