Class ConsumerGroupsCapabilityDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210201")
    public final class ConsumerGroupsCapabilityDetails
    extends CapabilityDetails
    Specifies the details for the consumer group capability.

    All fields are optional and are only used when the capability is added. Fields will be null when the capability is returned as part of the GetQueue API.
    Note: Objects should always be created or deserialized using the ConsumerGroupsCapabilityDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ConsumerGroupsCapabilityDetails.Builder, which maintain a set of all explicitly set fields called ConsumerGroupsCapabilityDetails.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Constructor Detail

      • ConsumerGroupsCapabilityDetails

        @Deprecated
        public ConsumerGroupsCapabilityDetails​(Boolean isPrimaryConsumerGroupEnabled,
                                               String primaryConsumerGroupDisplayName,
                                               String primaryConsumerGroupFilter,
                                               Integer primaryConsumerGroupDeadLetterQueueDeliveryCount)
        Deprecated.
    • Method Detail

      • getIsPrimaryConsumerGroupEnabled

        public Boolean getIsPrimaryConsumerGroupEnabled()
        Specifies if the primary consumer group should be automatically enabled after adding the capability.
        Returns:
        the value
      • getPrimaryConsumerGroupDisplayName

        public String getPrimaryConsumerGroupDisplayName()
        Name of the primary consumer group.

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

        Returns:
        the value
      • getPrimaryConsumerGroupFilter

        public String getPrimaryConsumerGroupFilter()
        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.

        Returns:
        the value
      • getPrimaryConsumerGroupDeadLetterQueueDeliveryCount

        public Integer getPrimaryConsumerGroupDeadLetterQueueDeliveryCount()
        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.

        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class CapabilityDetails
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation