Package com.oracle.bmc.email.model
Class DkimSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.DkimSummary.Builder
-
- Enclosing class:
- DkimSummary
public static class DkimSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DkimSummarybuild()DkimSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this DKIM.DkimSummary.Buildercopy(DkimSummary model)DkimSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DkimSummary.Builderdescription(String description)The description of a DKIM.DkimSummary.BuilderemailDomainId(String emailDomainId)The OCID of the email domain that this DKIM belongs to.DkimSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DkimSummary.Builderid(String id)The OCID of the DKIM.DkimSummary.BuilderisImported(Boolean isImported)Indicates whether the DKIM was imported.DkimSummary.BuilderkeyLength(Integer keyLength)Length of the RSA key used in the DKIM.DkimSummary.BuilderlifecycleState(Dkim.LifecycleState lifecycleState)The current state of the DKIM.DkimSummary.Buildername(String name)The DKIM selector.DkimSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DkimSummary.BuildertimeCreated(Date timeCreated)The time the DKIM was created.DkimSummary.BuildertimeUpdated(Date timeUpdated)The time of the last change to the DKIM configuration, due to a state change or an update operation.
-
-
-
Method Detail
-
name
public DkimSummary.Builder name(String name)
The DKIM selector.This selector is required to be globally unique for this email domain.
- Parameters:
name- the value to set- Returns:
- this builder
-
id
public DkimSummary.Builder id(String id)
The OCID of the DKIM.- Parameters:
id- the value to set- Returns:
- this builder
-
emailDomainId
public DkimSummary.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 DkimSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this DKIM.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public DkimSummary.Builder lifecycleState(Dkim.LifecycleState lifecycleState)
The current state of the DKIM.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
description
public DkimSummary.Builder description(String description)
The description of a DKIM.Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public DkimSummary.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 DkimSummary.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
-
isImported
public DkimSummary.Builder isImported(Boolean isImported)
Indicates whether the DKIM was imported.- Parameters:
isImported- the value to set- Returns:
- this builder
-
keyLength
public DkimSummary.Builder keyLength(Integer keyLength)
Length of the RSA key used in the DKIM.- Parameters:
keyLength- the value to set- Returns:
- this builder
-
freeformTags
public DkimSummary.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 DkimSummary.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 DkimSummary.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 DkimSummary build()
-
copy
public DkimSummary.Builder copy(DkimSummary model)
-
-