Class RecipientsConfiguration.Builder

    • Field Detail

      • emails

        protected java.util.List<java.lang.String> emails
      • groups

        protected java.util.List<java.lang.String> groups
    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • withEmails

        public RecipientsConfiguration.Builder withEmails​(java.util.List<java.lang.String> emails)
        Set value for optional field.
        Parameters:
        emails - A list of user emails to notify. Must not contain a null item.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withGroups

        public RecipientsConfiguration.Builder withGroups​(java.util.List<java.lang.String> groups)
        Set value for optional field.
        Parameters:
        groups - A list of groups to notify. Must not contain a null item.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.