Package com.oracle.bmc.datacc.model
Class InfrastructureContact.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.model.InfrastructureContact.Builder
-
- Enclosing class:
- InfrastructureContact
public static class InfrastructureContact.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InfrastructureContactbuild()InfrastructureContact.Buildercopy(InfrastructureContact model)InfrastructureContact.Builderemail(String email)The email for the Database Infrastructure contact.InfrastructureContact.BuilderisContactMosValidated(Boolean isContactMosValidated)If true, this Database Infrastructure contact is a valid My Oracle Support (MOS) contact.InfrastructureContact.BuilderisPrimary(Boolean isPrimary)If true, this Database Infrastructure contact is a primary contact.InfrastructureContact.Buildername(String name)The name of the Database Infrastructure contact.InfrastructureContact.BuilderphoneNumber(String phoneNumber)The phone number for the Database Infrastructure contact.
-
-
-
Method Detail
-
name
public InfrastructureContact.Builder name(String name)
The name of the Database Infrastructure contact.- Parameters:
name- the value to set- Returns:
- this builder
-
phoneNumber
public InfrastructureContact.Builder phoneNumber(String phoneNumber)
The phone number for the Database Infrastructure contact.- Parameters:
phoneNumber- the value to set- Returns:
- this builder
-
email
public InfrastructureContact.Builder email(String email)
The email for the Database Infrastructure contact.- Parameters:
email- the value to set- Returns:
- this builder
-
isPrimary
public InfrastructureContact.Builder isPrimary(Boolean isPrimary)
If true, this Database Infrastructure contact is a primary contact.If false, this Database Infrastructure is a secondary contact.
- Parameters:
isPrimary- the value to set- Returns:
- this builder
-
isContactMosValidated
public InfrastructureContact.Builder isContactMosValidated(Boolean isContactMosValidated)
If true, this Database Infrastructure contact is a valid My Oracle Support (MOS) contact.If false, this Database Infrastructure contact is not a valid MOS contact.
- Parameters:
isContactMosValidated- the value to set- Returns:
- this builder
-
build
public InfrastructureContact build()
-
copy
public InfrastructureContact.Builder copy(InfrastructureContact model)
-
-