UpdateConsumerGroupDetails¶
- class oci.queue.models.UpdateConsumerGroupDetails(**kwargs)¶
Bases:
objectThe information to be updated.
Methods:
__init__(**kwargs)Initializes a new UpdateConsumerGroupDetails object with values from keyword arguments.
Attributes:
Gets the dead_letter_queue_delivery_count of this UpdateConsumerGroupDetails.
Gets the defined_tags of this UpdateConsumerGroupDetails.
Gets the display_name of this UpdateConsumerGroupDetails.
Gets the filter of this UpdateConsumerGroupDetails.
Gets the freeform_tags of this UpdateConsumerGroupDetails.
Gets the is_enabled of this UpdateConsumerGroupDetails.
- __init__(**kwargs)¶
Initializes a new UpdateConsumerGroupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateConsumerGroupDetails.
filter (str) – The value to assign to the filter property of this UpdateConsumerGroupDetails.
is_enabled (bool) – The value to assign to the is_enabled property of this UpdateConsumerGroupDetails.
dead_letter_queue_delivery_count (int) – The value to assign to the dead_letter_queue_delivery_count property of this UpdateConsumerGroupDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateConsumerGroupDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateConsumerGroupDetails.
- property dead_letter_queue_delivery_count¶
Gets the dead_letter_queue_delivery_count of this UpdateConsumerGroupDetails. 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).
- Returns
The dead_letter_queue_delivery_count of this UpdateConsumerGroupDetails.
- Return type
int
- property defined_tags¶
Gets the defined_tags of this UpdateConsumerGroupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this UpdateConsumerGroupDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateConsumerGroupDetails. The OCID of the consumer group.
- Returns
The display_name of this UpdateConsumerGroupDetails.
- Return type
str
- property filter¶
Gets the filter of this UpdateConsumerGroupDetails. The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group.
- Returns
The filter of this UpdateConsumerGroupDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateConsumerGroupDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this UpdateConsumerGroupDetails.
- Return type
dict(str, str)
- property is_enabled¶
Gets the is_enabled of this UpdateConsumerGroupDetails. 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.
- Returns
The is_enabled of this UpdateConsumerGroupDetails.
- Return type
bool