public static class PurgeQueueDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PurgeQueueDetails |
build() |
PurgeQueueDetails.Builder |
channelIds(List<String> channelIds)
Optional parameter to specify the destination of purge operation.
|
PurgeQueueDetails.Builder |
copy(PurgeQueueDetails model) |
PurgeQueueDetails.Builder |
purgeType(PurgeQueueDetails.PurgeType purgeType)
Type of the purge to perform: - NORMAL - purge only the normal queue - DLQ - purge only
the dead letter queue - BOTH - purge both the normal queue and the dead letter queue
|
public PurgeQueueDetails.Builder purgeType(PurgeQueueDetails.PurgeType purgeType)
Type of the purge to perform: - NORMAL - purge only the normal queue - DLQ - purge only the dead letter queue - BOTH - purge both the normal queue and the dead letter queue
purgeType
- the value to setpublic PurgeQueueDetails.Builder channelIds(List<String> channelIds)
Optional parameter to specify the destination of purge operation. If the channel ID is specified, the purge operation will delete all the messages in the specific channels. If the channel ID is not specified, the purge operation will delete all the messages in the queue and in the child channels.
channelIds
- the value to setpublic PurgeQueueDetails build()
public PurgeQueueDetails.Builder copy(PurgeQueueDetails model)
Copyright © 2016–2024. All rights reserved.