public class EmailReceiver extends Object
Constructor and Description |
---|
EmailReceiver() |
Modifier and Type | Method and Description |
---|---|
String |
emailAddress()
Get the email address of this receiver.
|
String |
name()
Get the name of the email receiver.
|
ReceiverStatus |
status()
Get the receiver status of the e-mail.
|
EmailReceiver |
withEmailAddress(String emailAddress)
Set the email address of this receiver.
|
EmailReceiver |
withName(String name)
Set the name of the email receiver.
|
public String name()
public EmailReceiver withName(String name)
name
- the name value to setpublic String emailAddress()
public EmailReceiver withEmailAddress(String emailAddress)
emailAddress
- the emailAddress value to setpublic ReceiverStatus status()
Copyright © 2019. All rights reserved.