Class Dkim.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.Dkim.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dkim
build()
Dkim.Builder
cnameRecordValue(String cnameRecordValue)
The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).Dkim.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains this DKIM.Dkim.Builder
copy(Dkim model)
Dkim.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Dkim.Builder
description(String description)
The description of the DKIM.Dkim.Builder
dnsSubdomainName(String dnsSubdomainName)
The name of the DNS subdomain that must be provisioned to enable email recipients to verify DKIM signatures.Dkim.Builder
emailDomainId(String emailDomainId)
The OCID of the email domain that this DKIM belongs to.Dkim.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Dkim.Builder
id(String id)
The OCID of the DKIM.Dkim.Builder
isImported(Boolean isImported)
Indicates whether the DKIM was imported.Dkim.Builder
keyLength(Integer keyLength)
Length of the RSA key used in the DKIM.Dkim.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.Dkim.Builder
lifecycleState(Dkim.LifecycleState lifecycleState)
The current state of the DKIM.Dkim.Builder
name(String name)
The DKIM selector.Dkim.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.Dkim.Builder
timeCreated(Date timeCreated)
The time the DKIM was created.Dkim.Builder
timeUpdated(Date timeUpdated)
The time of the last change to the DKIM configuration, due to a state change or an update operation.Dkim.Builder
txtRecordValue(String txtRecordValue)
The DNS TXT record value to provision to the DKIM DNS subdomain in place of using a CNAME record.
-
-
-
Method Detail
-
name
public Dkim.Builder name(String name)
The DKIM selector.If the same domain is managed in more than one region, each region must use different selectors.
- Parameters:
name
- the value to set- Returns:
- this builder
-
id
public Dkim.Builder id(String id)
The OCID of the DKIM.- Parameters:
id
- the value to set- Returns:
- this builder
-
emailDomainId
public Dkim.Builder emailDomainId(String emailDomainId)
The OCID of the email domain that this DKIM belongs to.- Parameters:
emailDomainId
- the value to set- Returns:
- this builder
-
compartmentId
public Dkim.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this DKIM.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
lifecycleState
public Dkim.Builder lifecycleState(Dkim.LifecycleState lifecycleState)
The current state of the DKIM.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Dkim.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
description
public Dkim.Builder description(String description)
The description of the DKIM.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public Dkim.Builder timeCreated(Date timeCreated)
The time the DKIM was created.Times are 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
-
timeUpdated
public Dkim.Builder timeUpdated(Date timeUpdated)
The time of the last change to the DKIM configuration, due to a state change or an update operation.Times are expressed in RFC 3339 timestamp format, “YYYY-MM-ddThh:mmZ”.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
dnsSubdomainName
public Dkim.Builder dnsSubdomainName(String dnsSubdomainName)
The name of the DNS subdomain that must be provisioned to enable email recipients to verify DKIM signatures.It is usually created with a CNAME record set to the cnameRecordValue.
- Parameters:
dnsSubdomainName
- the value to set- Returns:
- this builder
-
cnameRecordValue
public Dkim.Builder cnameRecordValue(String cnameRecordValue)
The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred).- Parameters:
cnameRecordValue
- the value to set- Returns:
- this builder
-
txtRecordValue
public Dkim.Builder txtRecordValue(String txtRecordValue)
The DNS TXT record value to provision to the DKIM DNS subdomain in place of using a CNAME record.This is used in cases where a CNAME cannot be used, such as when the cnameRecordValue would exceed the maximum length for a DNS entry. You can also use this if you have an existing procedure to directly provision TXT records for DKIM. Many DNS APIs require you to break this string into segments of fewer than 255 characters.
- Parameters:
txtRecordValue
- the value to set- Returns:
- this builder
-
isImported
public Dkim.Builder isImported(Boolean isImported)
Indicates whether the DKIM was imported.- Parameters:
isImported
- the value to set- Returns:
- this builder
-
keyLength
public Dkim.Builder keyLength(Integer keyLength)
Length of the RSA key used in the DKIM.- Parameters:
keyLength
- the value to set- Returns:
- this builder
-
freeformTags
public Dkim.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 Dkim.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 Dkim.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
-
build
public Dkim build()
-
copy
public Dkim.Builder copy(Dkim model)
-
-