Package com.oracle.bmc.email.model
Class EmailDomain.Builder
- java.lang.Object
- 
- com.oracle.bmc.email.model.EmailDomain.Builder
 
- 
- Enclosing class:
- EmailDomain
 
 public static class EmailDomain.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailDomain.BuilderactiveDkimId(String activeDkimId)The OCID of the DKIM key that will be used to sign mail sent from this email domain.EmailDomainbuild()EmailDomain.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this email domain.EmailDomain.Buildercopy(EmailDomain model)EmailDomain.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.EmailDomain.Builderdescription(String description)The description of an email domain.EmailDomain.BuilderdomainVerificationId(String domainVerificationId)Id for Domain in Domain Management (under governance) if DOMAINID verification method used.EmailDomain.BuilderdomainVerificationStatus(DomainVerificationStatusType domainVerificationStatus)The current domain verification status.EmailDomain.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.EmailDomain.Builderid(String id)The OCID of the email domain.EmailDomain.BuilderisSpf(Boolean isSpf)Value of the SPF field.EmailDomain.BuilderlifecycleState(EmailDomain.LifecycleState lifecycleState)The current state of the email domain.EmailDomain.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.EmailDomain.Buildername(String name)The name of the email domain in the Internet Domain Name System (DNS).EmailDomain.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.EmailDomain.BuildertimeCreated(Date timeCreated)The time the email domain was created, expressed in RFC 3339 timestamp format, “YYYY-MM-ddThh:mmZ”.
 
- 
- 
- 
Method Detail- 
namepublic EmailDomain.Builder name(String name) The name of the email domain in the Internet Domain Name System (DNS).Example: mydomain.example.com - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
idpublic EmailDomain.Builder id(String id) The OCID of the email domain.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic EmailDomain.Builder compartmentId(String compartmentId) The OCID of the compartment that contains this email domain.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic EmailDomain.Builder lifecycleState(EmailDomain.LifecycleState lifecycleState) The current state of the email domain.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
activeDkimIdpublic EmailDomain.Builder activeDkimId(String activeDkimId) The OCID of the DKIM key that will be used to sign mail sent from this email domain.- Parameters:
- activeDkimId- the value to set
- Returns:
- this builder
 
 - 
isSpfpublic EmailDomain.Builder isSpf(Boolean isSpf) Value of the SPF field.For more information about SPF, please see SPF Authentication. - Parameters:
- isSpf- the value to set
- Returns:
- this builder
 
 - 
domainVerificationStatuspublic EmailDomain.Builder domainVerificationStatus(DomainVerificationStatusType domainVerificationStatus) The current domain verification status.- Parameters:
- domainVerificationStatus- the value to set
- Returns:
- this builder
 
 - 
domainVerificationIdpublic EmailDomain.Builder domainVerificationId(String domainVerificationId) Id for Domain in Domain Management (under governance) if DOMAINID verification method used.- Parameters:
- domainVerificationId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic EmailDomain.Builder description(String description) The description of an email domain.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic EmailDomain.Builder timeCreated(Date timeCreated) The time the email domain was created, expressed in RFC 3339 timestamp format, “YYYY-MM-ddThh:mmZ”.Example: 2021-02-12T22:47:12.613Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic EmailDomain.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic EmailDomain.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic EmailDomain.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
lockspublic EmailDomain.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
buildpublic EmailDomain build() 
 - 
copypublic EmailDomain.Builder copy(EmailDomain model) 
 
- 
 
-