Class MessageSettings.Builder

  • Enclosing class:
    MessageSettings

    @NotThreadSafe
    @Deprecated(since="2021-05-27")
    public static final class MessageSettings.Builder
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A MessageSettings builder.
    • Constructor Detail

      • Builder

        public Builder()
        Deprecated.
    • Method Detail

      • build

        public MessageSettings build()
        Deprecated.
        Build it.
        Returns:
        the message settings
      • maxDocumentSize

        public MessageSettings.Builder maxDocumentSize​(int maxDocumentSize)
        Deprecated.
        Sets the maximum document size allowed.
        Parameters:
        maxDocumentSize - the maximum document size allowed
        Returns:
        this
      • maxMessageSize

        public MessageSettings.Builder maxMessageSize​(int maxMessageSize)
        Deprecated.
        Sets the maximum message size allowed.
        Parameters:
        maxMessageSize - the maximum message size allowed
        Returns:
        this
      • maxBatchCount

        public MessageSettings.Builder maxBatchCount​(int maxBatchCount)
        Deprecated.
        Sets the maximum number of items in a batch allowed.
        Parameters:
        maxBatchCount - the maximum number of items in a batch allowed
        Returns:
        this