Class ConsumerGroupsCapabilityDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isPrimaryConsumerGroupEnabled

        public ConsumerGroupsCapabilityDetails.Builder isPrimaryConsumerGroupEnabled​(Boolean isPrimaryConsumerGroupEnabled)
        Specifies if the primary consumer group should be automatically enabled after adding the capability.
        Parameters:
        isPrimaryConsumerGroupEnabled - the value to set
        Returns:
        this builder
      • primaryConsumerGroupDisplayName

        public ConsumerGroupsCapabilityDetails.Builder primaryConsumerGroupDisplayName​(String primaryConsumerGroupDisplayName)
        Name of the primary consumer group.

        If omitted, it will be named “Primary Consumer Group”.

        Parameters:
        primaryConsumerGroupDisplayName - the value to set
        Returns:
        this builder
      • primaryConsumerGroupFilter

        public ConsumerGroupsCapabilityDetails.Builder primaryConsumerGroupFilter​(String primaryConsumerGroupFilter)
        The filter used by the primary consumer group.

        Only messages matching the filter will be available by consumers of the group. An empty value means that all messages will be available in the group.

        Parameters:
        primaryConsumerGroupFilter - the value to set
        Returns:
        this builder
      • primaryConsumerGroupDeadLetterQueueDeliveryCount

        public ConsumerGroupsCapabilityDetails.Builder primaryConsumerGroupDeadLetterQueueDeliveryCount​(Integer primaryConsumerGroupDeadLetterQueueDeliveryCount)
        The number of times a message can be delivered to a consumer before being moved to the dead letter queue.

        A value of 0 indicates that the DLQ is not used. If the value isn’t set, it will be using the value defined at the queue level.

        Parameters:
        primaryConsumerGroupDeadLetterQueueDeliveryCount - the value to set
        Returns:
        this builder