Class RowEmail.AddRowEmailBuilder

  • Enclosing class:
    RowEmail

    public static class RowEmail.AddRowEmailBuilder
    extends java.lang.Object
    A convenience class to help create a RowEmail object with the appropriate fields.
    • Constructor Detail

      • AddRowEmailBuilder

        public AddRowEmailBuilder()
    • Method Detail

      • getIncludeAttachments

        public java.lang.Boolean getIncludeAttachments()
        Gets the flag that indicates if attachments should be included in the email.
        Returns:
        the include attachments
      • setIncludeAttachments

        public RowEmail.AddRowEmailBuilder setIncludeAttachments​(java.lang.Boolean includeAttachments)
        Sets the flag that indicates if attachments should be included in the email.
        Parameters:
        includeAttachments - the new include attachments
        Returns:
        the builder
      • getIncludeDiscussions

        public java.lang.Boolean getIncludeDiscussions()
        Gets the flag that indicates if discussions should be included in the email.
        Returns:
        the include discussions
      • setIncludeDiscussions

        public RowEmail.AddRowEmailBuilder setIncludeDiscussions​(java.lang.Boolean includeDiscussions)
        Sets the flag that indicates if discussions should be included in the email.
        Parameters:
        includeDiscussions - the new include discussions
        Returns:
        the builder
      • getLayout

        public java.lang.String getLayout()
        Gets a string containing the layout. Defaults to HORIZONTAL if multiple rows are being setn, and to VERTICAL when a single row is being sent.
        Returns:
        layout
      • setLayout

        public RowEmail.AddRowEmailBuilder setLayout​(java.lang.String layout)
        Sets the layout string
        Parameters:
        layout - string containing HORIZONTAL or VERTICAL strings
        Returns:
        the builder
      • getSendTo

        public java.util.List<Recipient> getSendTo()
        Gets the list of recipients to send to
        Returns:
        the list of recipients
      • setSendTo

        public RowEmail.AddRowEmailBuilder setSendTo​(java.util.List<Recipient> sendTo)
        Sets the list of recipients to send to
        Parameters:
        sendTo - list of recipients
        Returns:
        the builder
      • getSubject

        public java.lang.String getSubject()
        Gets the subject.
        Returns:
        the subject
      • setSubject

        public RowEmail.AddRowEmailBuilder setSubject​(java.lang.String subject)
        Sets the subject.
        Parameters:
        subject - the new subject
        Returns:
        the associated builder
      • getMessage

        public java.lang.String getMessage()
        Gets the message.
        Returns:
        the message
      • setMessage

        public RowEmail.AddRowEmailBuilder setMessage​(java.lang.String message)
        Sets the message.
        Parameters:
        message - the new message
        Returns:
        the builder
      • getCcMe

        public java.lang.Boolean getCcMe()
        Gets the carbon copy me flag.
        Returns:
        the cc me
      • setCcMe

        public RowEmail.AddRowEmailBuilder setCcMe​(java.lang.Boolean ccMe)
        Sets the carbon copy me flag.
        Parameters:
        ccMe - the new cc me
        Returns:
        the builder
      • build

        public RowEmail build()
        Builds the row email.
        Returns:
        the rowemail