Package com.oracle.bmc.email.model
Class CreateEmailDomainDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.email.model.CreateEmailDomainDetails.Builder
-
- Enclosing class:
- CreateEmailDomainDetails
public static class CreateEmailDomainDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEmailDomainDetails
build()
CreateEmailDomainDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment for this email domain.CreateEmailDomainDetails.Builder
copy(CreateEmailDomainDetails model)
CreateEmailDomainDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateEmailDomainDetails.Builder
description(String description)
A string that describes the details about the domain.CreateEmailDomainDetails.Builder
domainVerificationId(String domainVerificationId)
Id for Domain in Domain Management (under governance) if DOMAINID verification method used.CreateEmailDomainDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CreateEmailDomainDetails.Builder
name(String name)
The name of the email domain in the Internet Domain Name System (DNS).
-
-
-
Method Detail
-
name
public CreateEmailDomainDetails.Builder name(String name)
The name of the email domain in the Internet Domain Name System (DNS).The email domain name must be unique in the region for this tenancy. Domain names limited to ASCII characters use alphanumeric, dash (“-”), and dot (“.”) characters. The dash and dot are only allowed between alphanumeric characters. For details, see RFC 5321, section 4.1.2 Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
- Parameters:
name
- the value to set- Returns:
- this builder
-
compartmentId
public CreateEmailDomainDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment for this email domain.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
domainVerificationId
public CreateEmailDomainDetails.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 CreateEmailDomainDetails.Builder description(String description)
A string that describes the details about the domain.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
-
freeformTags
public CreateEmailDomainDetails.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 CreateEmailDomainDetails.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 CreateEmailDomainDetails build()
-
copy
public CreateEmailDomainDetails.Builder copy(CreateEmailDomainDetails model)
-
-