Package com.oracle.bmc.usageapi.model
Class EmailRecipient.Builder
- java.lang.Object
-
- com.oracle.bmc.usageapi.model.EmailRecipient.Builder
-
- Enclosing class:
- EmailRecipient
public static class EmailRecipient.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
firstName
public EmailRecipient.Builder firstName(String firstName)
the first name of the recipient.- Parameters:
firstName
- the value to set- Returns:
- this builder
-
lastName
public EmailRecipient.Builder lastName(String lastName)
the last name of the recipient.- Parameters:
lastName
- the value to set- Returns:
- this builder
-
emailId
public EmailRecipient.Builder emailId(String emailId)
the email of the recipient.- Parameters:
emailId
- the value to set- Returns:
- this builder
-
lifecycleState
public EmailRecipient.Builder lifecycleState(EmailRecipient.LifecycleState lifecycleState)
The email recipient lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
build
public EmailRecipient build()
-
copy
public EmailRecipient.Builder copy(EmailRecipient model)
-
-