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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
name
public 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
-
id
public EmailDomain.Builder id(String id)
The OCID of the email domain.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public EmailDomain.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this email domain.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public EmailDomain.Builder lifecycleState(EmailDomain.LifecycleState lifecycleState)
The current state of the email domain.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
activeDkimId
public 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
-
isSpf
public 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
-
domainVerificationStatus
public EmailDomain.Builder domainVerificationStatus(DomainVerificationStatusType domainVerificationStatus)
The current domain verification status.- Parameters:
domainVerificationStatus- the value to set- Returns:
- this builder
-
domainVerificationId
public 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
-
description
public EmailDomain.Builder description(String description)
The description of an email domain.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
locks
public EmailDomain.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public EmailDomain build()
-
copy
public EmailDomain.Builder copy(EmailDomain model)
-
-