Class Sender.Builder

  • Enclosing class:
    Sender

    public static class Sender.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public Sender.Builder compartmentId​(String compartmentId)
        The OCID for the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • emailAddress

        public Sender.Builder emailAddress​(String emailAddress)
        Email address of the sender.
        Parameters:
        emailAddress - the value to set
        Returns:
        this builder
      • id

        public Sender.Builder id​(String id)
        The unique OCID of the sender.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • isSpf

        public Sender.Builder isSpf​(Boolean isSpf)
        Value of the SPF field.

        For more information about SPF, please see SPF Authentication.

        Parameters:
        isSpf - the value to set
        Returns:
        this builder
      • lifecycleState

        public Sender.Builder lifecycleState​(Sender.LifecycleState lifecycleState)
        The sender’s current lifecycle state.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public Sender.Builder timeCreated​(Date timeCreated)
        The date and time the approved sender was added in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • emailDomainId

        public Sender.Builder emailDomainId​(String emailDomainId)
        The email domain used to assert responsibility for emails sent from this sender.
        Parameters:
        emailDomainId - the value to set
        Returns:
        this builder
      • freeformTags

        public Sender.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 Sender.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 Sender.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 Sender build()