Class ConsumerGroupsCapabilityDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.queue.model.CapabilityDetails
-
- com.oracle.bmc.queue.model.ConsumerGroupsCapabilityDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210201") public final class ConsumerGroupsCapabilityDetails extends CapabilityDetailsSpecifies 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 theConsumerGroupsCapabilityDetails.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 theConsumerGroupsCapabilityDetails.Builder, which maintain a set of all explicitly set fields calledConsumerGroupsCapabilityDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConsumerGroupsCapabilityDetails.Builder
-
Constructor Summary
Constructors Constructor Description ConsumerGroupsCapabilityDetails(Boolean isPrimaryConsumerGroupEnabled, String primaryConsumerGroupDisplayName, String primaryConsumerGroupFilter, Integer primaryConsumerGroupDeadLetterQueueDeliveryCount)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConsumerGroupsCapabilityDetails.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsPrimaryConsumerGroupEnabled()Specifies if the primary consumer group should be automatically enabled after adding the capability.IntegergetPrimaryConsumerGroupDeadLetterQueueDeliveryCount()The number of times a message can be delivered to a consumer before being moved to the dead letter queue.StringgetPrimaryConsumerGroupDisplayName()Name of the primary consumer group.StringgetPrimaryConsumerGroupFilter()The filter used by the primary consumer group.inthashCode()ConsumerGroupsCapabilityDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ConsumerGroupsCapabilityDetails
@Deprecated public ConsumerGroupsCapabilityDetails(Boolean isPrimaryConsumerGroupEnabled, String primaryConsumerGroupDisplayName, String primaryConsumerGroupFilter, Integer primaryConsumerGroupDeadLetterQueueDeliveryCount)
Deprecated.
-
-
Method Detail
-
builder
public static ConsumerGroupsCapabilityDetails.Builder builder()
Create a new builder.
-
toBuilder
public ConsumerGroupsCapabilityDetails.Builder toBuilder()
-
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()
- Overrides:
toStringin classCapabilityDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCapabilityDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCapabilityDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCapabilityDetails
-
-