Class MultiRowEmail.AddMultiRowEmailBuilder

  • Enclosing class:
    MultiRowEmail

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

      • AddMultiRowEmailBuilder

        public AddMultiRowEmailBuilder()
    • Method Detail

      • setRowIds

        public MultiRowEmail.AddMultiRowEmailBuilder setRowIds​(java.util.List<java.lang.Long> rowIds)
        Sets the IDs of rows to be included
        Parameters:
        rowIds - list of row ids
        Returns:
        the builder
      • setColumnIds

        public MultiRowEmail.AddMultiRowEmailBuilder setColumnIds​(java.util.List<java.lang.Long> columnIds)
        Sets the IDs of the columns to be included.
        Parameters:
        columnIds - the column ids
        Returns:
        the builder
      • setIncludeAttachments

        public MultiRowEmail.AddMultiRowEmailBuilder 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
      • setIncludeDiscussions

        public MultiRowEmail.AddMultiRowEmailBuilder 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
      • build

        public MultiRowEmail build()
        Builds the multi row email object
        Returns:
        the multi row email object