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 Contactbuild()Contact.BuildercontactEmail(String contactEmail)The email of the contact person.Contact.BuildercontactName(String contactName)The name of the contact person.Contact.BuildercontactPhone(String contactPhone)The phone number of the contact person.Contact.BuildercontactType(Contact.ContactType contactType)The type of contact, such as primary or alternate.Contact.Buildercopy(Contact model)Contact.Builderemail(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)
-
-