@Generated(value={"Immutables.generator","_Email"}) public final class Email extends Object
_Email.
Use the builder to create immutable instances:
Email.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
Email.Builder
Builds instances of type
Email. |
| Modifier and Type | Method and Description |
|---|---|
static Email.Builder |
builder()
Creates a builder for
Email. |
boolean |
equals(Object another)
This instance is equal to all instances of
Email that have equal attribute values. |
Boolean |
getPrimary()
Whether this email address is the primary
|
String |
getValue()
The email address
|
int |
hashCode()
Computes a hash code from attributes:
value, primary. |
String |
toString()
Prints the immutable value
Email with attribute values. |
public String getValue()
public Boolean getPrimary()
public boolean equals(Object another)
Email that have equal attribute values.public int hashCode()
value, primary.public String toString()
Email with attribute values.public static Email.Builder builder()
Email.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.