Package com.oracle.bmc.cims.model
Class Contact.Builder
- java.lang.Object
-
- com.oracle.bmc.cims.model.Contact.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
contactName
public Contact.Builder contactName(String contactName)
The name of the contact person.- Parameters:
contactName
- the value to set- Returns:
- this builder
-
contactEmail
public Contact.Builder contactEmail(String contactEmail)
The email of the contact person.- Parameters:
contactEmail
- the value to set- Returns:
- this builder
-
email
public Contact.Builder email(String email)
The email of the contact person.- Parameters:
email
- the value to set- Returns:
- this builder
-
contactPhone
public Contact.Builder contactPhone(String contactPhone)
The phone number of the contact person.- Parameters:
contactPhone
- the value to set- Returns:
- this builder
-
contactType
public Contact.Builder contactType(Contact.ContactType contactType)
The type of contact, such as primary or alternate.- Parameters:
contactType
- the value to set- Returns:
- this builder
-
build
public Contact build()
-
copy
public Contact.Builder copy(Contact model)
-
-