Class UpdateConsumerGroupDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • filter

        public UpdateConsumerGroupDetails.Builder filter​(String filter)
        The filter used by the consumer group.

        Only messages matching the filter will be available by consumers of the group.

        Parameters:
        filter - the value to set
        Returns:
        this builder
      • isEnabled

        public UpdateConsumerGroupDetails.Builder isEnabled​(Boolean isEnabled)
        Used to enable or disable the consumer group.

        An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.

        Parameters:
        isEnabled - the value to set
        Returns:
        this builder
      • deadLetterQueueDeliveryCount

        public UpdateConsumerGroupDetails.Builder deadLetterQueueDeliveryCount​(Integer deadLetterQueueDeliveryCount)
        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. Changing that value to a lower threshold does not retroactively move in-flight messages in the dead letter queue. A value of -1 unsets the delivery count for the consumer group (i.e. it will now be using the value set at the queue level).

        Parameters:
        deadLetterQueueDeliveryCount - the value to set
        Returns:
        this builder
      • freeformTags

        public UpdateConsumerGroupDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public UpdateConsumerGroupDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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