public class Email extends Object implements Serializable
| Constructor and Description |
|---|
Email() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getAddress()
Valid email address in simple form.
|
String |
getAddressMd5()
MD5 hash of the address.
|
Boolean |
getDisposable()
Whether this is a disposable email (for example guerillamail.com).
|
Boolean |
getEmailProvider()
Whether this email came from a public provider (such as gmail.com).
|
String |
getType()
Either one of 'personal’ or 'work’.
|
String |
getValidSince()
Valid since (YYYY-mm-DD)
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAddress(String address)
Valid email address in simple form.
|
void |
setAddressMd5(String addressMd5)
MD5 hash of the address.
|
void |
setDisposable(Boolean disposable)
Whether this is a disposable email (for example guerillamail.com).
|
void |
setEmailProvider(Boolean emailProvider)
Whether this email came from a public provider (such as gmail.com).
|
void |
setType(String type)
Either one of 'personal’ or 'work’.
|
void |
setValidSince(String validSince)
Valid since (YYYY-mm-DD)
|
String |
toString() |
Email |
withAdditionalProperty(String name,
Object value) |
Email |
withAddress(String address) |
Email |
withAddressMd5(String addressMd5) |
Email |
withDisposable(Boolean disposable) |
Email |
withEmailProvider(Boolean emailProvider) |
Email |
withType(String type) |
Email |
withValidSince(String validSince) |
public String getType()
public void setType(String type)
public String getValidSince()
public void setValidSince(String validSince)
public String getAddress()
public void setAddress(String address)
public String getAddressMd5()
public void setAddressMd5(String addressMd5)
public Boolean getDisposable()
public void setDisposable(Boolean disposable)
public Boolean getEmailProvider()
public void setEmailProvider(Boolean emailProvider)
Copyright © 2020 The Apache Software Foundation. All rights reserved.