@Generated(value={"Immutables.generator","_Email"}) public final class Email extends Object
| 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:
primary, value. |
String |
toString()
Prints the immutable value
Email with attribute values. |
public Boolean getPrimary()
public String getValue()
public boolean equals(Object another)
Email that have equal attribute values.public int hashCode()
primary, value.public String toString()
Email with attribute values.public static Email.Builder builder()
Email.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.