Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Contact |
build() |
Contact.Builder |
contactEmail(String contactEmail)
The email of the contact person.
|
Contact.Builder |
contactName(String contactName)
The name of the contact person.
|
Contact.Builder |
contactPhone(String contactPhone)
The phone number of the contact person.
|
Contact.Builder |
contactType(Contact.ContactType contactType)
The type of contact, such as primary or alternate.
|
Contact.Builder |
copy(Contact model) |
Contact.Builder |
email(String email)
The email of the contact person.
|
public Contact.Builder contactName(String contactName)
The name of the contact person.
contactName
- the value to setpublic Contact.Builder contactEmail(String contactEmail)
The email of the contact person.
contactEmail
- the value to setpublic Contact.Builder email(String email)
The email of the contact person.
email
- the value to setpublic Contact.Builder contactPhone(String contactPhone)
The phone number of the contact person.
contactPhone
- the value to setpublic Contact.Builder contactType(Contact.ContactType contactType)
The type of contact, such as primary or alternate.
contactType
- the value to setpublic Contact build()
public Contact.Builder copy(Contact model)
Copyright © 2016–2024. All rights reserved.