Class CreateDkimDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.CreateDkimDetails.Builder
-
- Enclosing class:
- CreateDkimDetails
public static class CreateDkimDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDkimDetails
build()
CreateDkimDetails.Builder
copy(CreateDkimDetails model)
CreateDkimDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateDkimDetails.Builder
description(String description)
A string that describes the details about the DKIM.CreateDkimDetails.Builder
emailDomainId(String emailDomainId)
The OCID of the EmailDomain for this DKIM.CreateDkimDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CreateDkimDetails.Builder
name(String name)
The DKIM selector.CreateDkimDetails.Builder
privateKey(String privateKey)
The DKIM RSA Private Key in Privacy-Enhanced Mail (PEM) format.
-
-
-
Method Detail
-
name
public CreateDkimDetails.Builder name(String name)
The DKIM selector.This selector is required to be globally unique for this email domain. If you do not provide the selector, we will generate one for you. If you do provide the selector, we suggest adding a short region indicator to differentiate from your signing of emails in other regions you might be subscribed to. Selectors limited to ASCII characters can use alphanumeric, dash (“-”), and dot (“.”) characters. Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892).
Avoid entering confidential information.
Example: mydomain-phx-20210228
- Parameters:
name
- the value to set- Returns:
- this builder
-
emailDomainId
public CreateDkimDetails.Builder emailDomainId(String emailDomainId)
The OCID of the EmailDomain for this DKIM.- Parameters:
emailDomainId
- the value to set- Returns:
- this builder
-
description
public CreateDkimDetails.Builder description(String description)
A string that describes the details about the DKIM.It does not have to be unique, and you can change it. Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
privateKey
public CreateDkimDetails.Builder privateKey(String privateKey)
The DKIM RSA Private Key in Privacy-Enhanced Mail (PEM) format.It is a text-based representation of the private key used for signing email messages.
- Parameters:
privateKey
- the value to set- Returns:
- this builder
-
freeformTags
public CreateDkimDetails.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 CreateDkimDetails.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
-
build
public CreateDkimDetails build()
-
copy
public CreateDkimDetails.Builder copy(CreateDkimDetails model)
-
-