Package com.oracle.bmc.queue.model
Class ConsumerGroupsCapabilityDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.model.ConsumerGroupsCapabilityDetails.Builder
-
- Enclosing class:
- ConsumerGroupsCapabilityDetails
public static class ConsumerGroupsCapabilityDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsumerGroupsCapabilityDetailsbuild()ConsumerGroupsCapabilityDetails.Buildercopy(ConsumerGroupsCapabilityDetails model)ConsumerGroupsCapabilityDetails.BuilderisPrimaryConsumerGroupEnabled(Boolean isPrimaryConsumerGroupEnabled)Specifies if the primary consumer group should be automatically enabled after adding the capability.ConsumerGroupsCapabilityDetails.BuilderprimaryConsumerGroupDeadLetterQueueDeliveryCount(Integer primaryConsumerGroupDeadLetterQueueDeliveryCount)The number of times a message can be delivered to a consumer before being moved to the dead letter queue.ConsumerGroupsCapabilityDetails.BuilderprimaryConsumerGroupDisplayName(String primaryConsumerGroupDisplayName)Name of the primary consumer group.ConsumerGroupsCapabilityDetails.BuilderprimaryConsumerGroupFilter(String primaryConsumerGroupFilter)The filter used by the primary consumer group.
-
-
-
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
-
build
public ConsumerGroupsCapabilityDetails build()
-
copy
public ConsumerGroupsCapabilityDetails.Builder copy(ConsumerGroupsCapabilityDetails model)
-
-