Class EmailDomain.Builder

  • Enclosing class:
    EmailDomain

    public static class EmailDomain.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public EmailDomain.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
      • compartmentId

        public EmailDomain.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains this email domain.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • activeDkimId

        public EmailDomain.Builder activeDkimId​(String activeDkimId)
        The OCID of the DKIM key that will be used to sign mail sent from this email domain.
        Parameters:
        activeDkimId - the value to set
        Returns:
        this builder
      • domainVerificationStatus

        public EmailDomain.Builder domainVerificationStatus​(DomainVerificationStatusType domainVerificationStatus)
        The current domain verification status.
        Parameters:
        domainVerificationStatus - the value to set
        Returns:
        this builder
      • domainVerificationId

        public EmailDomain.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 EmailDomain.Builder description​(String description)
        The description of an email domain.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeCreated

        public EmailDomain.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 EmailDomain.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 EmailDomain.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 EmailDomain.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