public static class UpdateQueueDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateQueueDetails |
build() |
UpdateQueueDetails.Builder |
channelConsumptionLimit(Integer channelConsumptionLimit)
The percentage of allocated queue resources that can be consumed by a single channel.
|
UpdateQueueDetails.Builder |
copy(UpdateQueueDetails model) |
UpdateQueueDetails.Builder |
customEncryptionKeyId(String customEncryptionKeyId)
The OCID
of the custom encryption key to be used to encrypt messages content.
|
UpdateQueueDetails.Builder |
deadLetterQueueDeliveryCount(Integer deadLetterQueueDeliveryCount)
The number of times a message can be delivered to a consumer before being moved to the
dead letter queue.
|
UpdateQueueDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateQueueDetails.Builder |
displayName(String displayName)
The OCID
of the queue.
|
UpdateQueueDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
UpdateQueueDetails.Builder |
timeoutInSeconds(Integer timeoutInSeconds)
The default polling timeout of the messages in the queue, in seconds.
|
UpdateQueueDetails.Builder |
visibilityInSeconds(Integer visibilityInSeconds)
The default visibility timeout of the messages consumed from the queue, in seconds.
|
public UpdateQueueDetails.Builder displayName(String displayName)
The OCID of the queue.
displayName
- the value to setpublic UpdateQueueDetails.Builder visibilityInSeconds(Integer visibilityInSeconds)
The default visibility timeout of the messages consumed from the queue, in seconds.
visibilityInSeconds
- the value to setpublic UpdateQueueDetails.Builder timeoutInSeconds(Integer timeoutInSeconds)
The default polling timeout of the messages in the queue, in seconds.
timeoutInSeconds
- the value to setpublic UpdateQueueDetails.Builder channelConsumptionLimit(Integer channelConsumptionLimit)
The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can’t exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue’s resources.
channelConsumptionLimit
- the value to setpublic UpdateQueueDetails.Builder deadLetterQueueDeliveryCount(Integer deadLetterQueueDeliveryCount)
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.
deadLetterQueueDeliveryCount
- the value to setpublic UpdateQueueDetails.Builder customEncryptionKeyId(String customEncryptionKeyId)
The OCID of the custom encryption key to be used to encrypt messages content. A string with a length of 0 means the custom key should be removed from queue.
customEncryptionKeyId
- the value to setpublic UpdateQueueDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic UpdateQueueDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic UpdateQueueDetails build()
public UpdateQueueDetails.Builder copy(UpdateQueueDetails model)
Copyright © 2016–2024. All rights reserved.