public static class EmailRecipient.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EmailRecipient |
build() |
EmailRecipient.Builder |
copy(EmailRecipient model) |
EmailRecipient.Builder |
emailId(String emailId)
the email of the recipient.
|
EmailRecipient.Builder |
firstName(String firstName)
the first name of the recipient.
|
EmailRecipient.Builder |
lastName(String lastName)
the last name of the recipient.
|
EmailRecipient.Builder |
lifecycleState(EmailRecipient.LifecycleState lifecycleState)
The email recipient lifecycle state.
|
public EmailRecipient.Builder firstName(String firstName)
the first name of the recipient.
firstName
- the value to setpublic EmailRecipient.Builder lastName(String lastName)
the last name of the recipient.
lastName
- the value to setpublic EmailRecipient.Builder emailId(String emailId)
the email of the recipient.
emailId
- the value to setpublic EmailRecipient.Builder lifecycleState(EmailRecipient.LifecycleState lifecycleState)
The email recipient lifecycle state.
lifecycleState
- the value to setpublic EmailRecipient build()
public EmailRecipient.Builder copy(EmailRecipient model)
Copyright © 2016–2024. All rights reserved.