Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Queue |
build() |
Queue.Builder |
channelConsumptionLimit(Integer channelConsumptionLimit)
The percentage of allocated queue resources that can be consumed by a single channel.
|
Queue.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the queue.
|
Queue.Builder |
copy(Queue model) |
Queue.Builder |
customEncryptionKeyId(String customEncryptionKeyId)
The OCID
of the custom encryption key to be used to encrypt messages content.
|
Queue.Builder |
deadLetterQueueDeliveryCount(Integer deadLetterQueueDeliveryCount)
The number of times a message can be delivered to a consumer before being moved to the
dead letter queue.
|
Queue.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Queue.Builder |
displayName(String displayName)
A user-friendly name for the queue.
|
Queue.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Queue.Builder |
id(String id)
A unique identifier for the queue that is immutable on creation.
|
Queue.Builder |
lifecycleDetails(String lifecycleDetails)
Any additional details about the current state of the queue.
|
Queue.Builder |
lifecycleState(Queue.LifecycleState lifecycleState)
The current state of the queue.
|
Queue.Builder |
messagesEndpoint(String messagesEndpoint)
The endpoint to use to consume or publish messages in the queue.
|
Queue.Builder |
retentionInSeconds(Integer retentionInSeconds)
The retention period of the messages in the queue, in seconds.
|
Queue.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Queue.Builder |
timeCreated(Date timeCreated)
The time that the queue was created, expressed in RFC
3339 timestamp format.
|
Queue.Builder |
timeoutInSeconds(Integer timeoutInSeconds)
The default polling timeout of the messages in the queue, in seconds.
|
Queue.Builder |
timeUpdated(Date timeUpdated)
The time that the queue was updated, expressed in RFC
3339 timestamp format.
|
Queue.Builder |
visibilityInSeconds(Integer visibilityInSeconds)
The default visibility timeout of the messages consumed from the queue, in seconds.
|
public Queue.Builder id(String id)
A unique identifier for the queue that is immutable on creation.
id
- the value to setpublic Queue.Builder displayName(String displayName)
A user-friendly name for the queue. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic Queue.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the queue.
compartmentId
- the value to setpublic Queue.Builder timeCreated(Date timeCreated)
The time that the queue was created, expressed in RFC 3339 timestamp format.
Example: 2018-04-20T00:00:07.405Z
timeCreated
- the value to setpublic Queue.Builder timeUpdated(Date timeUpdated)
The time that the queue was updated, expressed in RFC 3339 timestamp format.
Example: 2018-04-20T00:00:07.405Z
timeUpdated
- the value to setpublic Queue.Builder lifecycleState(Queue.LifecycleState lifecycleState)
The current state of the queue.
lifecycleState
- the value to setpublic Queue.Builder lifecycleDetails(String lifecycleDetails)
Any additional details about the current state of the queue.
lifecycleDetails
- the value to setpublic Queue.Builder messagesEndpoint(String messagesEndpoint)
The endpoint to use to consume or publish messages in the queue.
messagesEndpoint
- the value to setpublic Queue.Builder retentionInSeconds(Integer retentionInSeconds)
The retention period of the messages in the queue, in seconds.
retentionInSeconds
- the value to setpublic Queue.Builder visibilityInSeconds(Integer visibilityInSeconds)
The default visibility timeout of the messages consumed from the queue, in seconds.
visibilityInSeconds
- the value to setpublic Queue.Builder timeoutInSeconds(Integer timeoutInSeconds)
The default polling timeout of the messages in the queue, in seconds.
timeoutInSeconds
- the value to setpublic Queue.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.
deadLetterQueueDeliveryCount
- the value to setpublic Queue.Builder customEncryptionKeyId(String customEncryptionKeyId)
The OCID of the custom encryption key to be used to encrypt messages content.
customEncryptionKeyId
- the value to setpublic Queue.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 Queue.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 Queue.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Queue.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 Queue build()
public Queue.Builder copy(Queue model)
Copyright © 2016–2024. All rights reserved.