Package com.oracle.bmc.email.model
Class EmailDomainSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.EmailDomainSummary.Builder
-
- Enclosing class:
- EmailDomainSummary
public static class EmailDomainSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailDomainSummary.BuilderactiveDkimId(String activeDkimId)The OCID of the DKIM key that is adding the DKIM signature for this email domain.EmailDomainSummarybuild()EmailDomainSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this email domain.EmailDomainSummary.Buildercopy(EmailDomainSummary model)EmailDomainSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.EmailDomainSummary.Builderdescription(String description)The description of an email domain.EmailDomainSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.EmailDomainSummary.Builderid(String id)The OCID of the email domain.EmailDomainSummary.BuilderlifecycleState(EmailDomain.LifecycleState lifecycleState)The current state of the email domain.EmailDomainSummary.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.EmailDomainSummary.Buildername(String name)The name of the email domain in the Internet Domain Name System (DNS).EmailDomainSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.EmailDomainSummary.BuildertimeCreated(Date timeCreated)The time the email domain was created, expressed in RFC 3339 timestamp format, “YYYY-MM-ddThh:mmZ”.
-
-
-
Method Detail
-
name
public EmailDomainSummary.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 EmailDomainSummary.Builder id(String id)
The OCID of the email domain.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public EmailDomainSummary.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 EmailDomainSummary.Builder lifecycleState(EmailDomain.LifecycleState lifecycleState)
The current state of the email domain.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
activeDkimId
public EmailDomainSummary.Builder activeDkimId(String activeDkimId)
The OCID of the DKIM key that is adding the DKIM signature for this email domain.- Parameters:
activeDkimId- the value to set- Returns:
- this builder
-
description
public EmailDomainSummary.Builder description(String description)
The description of an email domain.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public EmailDomainSummary.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 EmailDomainSummary.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 EmailDomainSummary.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 EmailDomainSummary.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 EmailDomainSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public EmailDomainSummary build()
-
copy
public EmailDomainSummary.Builder copy(EmailDomainSummary model)
-
-