Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Contact |
build() |
Contact.Builder |
copy(Contact model) |
Contact.Builder |
email(String email)
The email of the contact
|
Contact.Builder |
firstName(String firstName)
The first name of the contact
|
Contact.Builder |
lastName(String lastName)
The last name of the contact
|
public Contact.Builder firstName(String firstName)
The first name of the contact
firstName
- the value to setpublic Contact.Builder lastName(String lastName)
The last name of the contact
lastName
- the value to setpublic Contact.Builder email(String email)
The email of the contact
email
- the value to setpublic Contact build()
public Contact.Builder copy(Contact model)
Copyright © 2016–2024. All rights reserved.