Package com.oracle.bmc.queue.model
Class CreateQueueDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.queue.model.CreateQueueDetails.Builder
 
- 
- Enclosing class:
- CreateQueueDetails
 
 public static class CreateQueueDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateQueueDetailsbuild()CreateQueueDetails.BuilderchannelConsumptionLimit(Integer channelConsumptionLimit)The percentage of allocated queue resources that can be consumed by a single channel.CreateQueueDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the queue.CreateQueueDetails.Buildercopy(CreateQueueDetails model)CreateQueueDetails.BuildercustomEncryptionKeyId(String customEncryptionKeyId)The OCID of the custom encryption key to be used to encrypt messages content.CreateQueueDetails.BuilderdeadLetterQueueDeliveryCount(Integer deadLetterQueueDeliveryCount)The number of times a message can be delivered to a consumer before being moved to the dead letter queue.CreateQueueDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateQueueDetails.BuilderdisplayName(String displayName)The user-friendly name of the queue.CreateQueueDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateQueueDetails.BuilderretentionInSeconds(Integer retentionInSeconds)The retention period of messages in the queue, in seconds.CreateQueueDetails.BuildertimeoutInSeconds(Integer timeoutInSeconds)The default polling timeout of the messages in the queue, in seconds.CreateQueueDetails.BuildervisibilityInSeconds(Integer visibilityInSeconds)The default visibility timeout of the messages consumed from the queue, in seconds.
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateQueueDetails.Builder displayName(String displayName) The user-friendly name of the queue.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateQueueDetails.Builder compartmentId(String compartmentId) The OCID of the compartment containing the queue.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
retentionInSecondspublic CreateQueueDetails.Builder retentionInSeconds(Integer retentionInSeconds) The retention period of messages in the queue, in seconds.- Parameters:
- retentionInSeconds- the value to set
- Returns:
- this builder
 
 - 
visibilityInSecondspublic CreateQueueDetails.Builder visibilityInSeconds(Integer visibilityInSeconds) The default visibility timeout of the messages consumed from the queue, in seconds.- Parameters:
- visibilityInSeconds- the value to set
- Returns:
- this builder
 
 - 
timeoutInSecondspublic CreateQueueDetails.Builder timeoutInSeconds(Integer timeoutInSeconds) The default polling timeout of the messages in the queue, in seconds.- Parameters:
- timeoutInSeconds- the value to set
- Returns:
- this builder
 
 - 
channelConsumptionLimitpublic CreateQueueDetails.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. - Parameters:
- channelConsumptionLimit- the value to set
- Returns:
- this builder
 
 - 
deadLetterQueueDeliveryCountpublic CreateQueueDetails.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. - Parameters:
- deadLetterQueueDeliveryCount- the value to set
- Returns:
- this builder
 
 - 
customEncryptionKeyIdpublic CreateQueueDetails.Builder customEncryptionKeyId(String customEncryptionKeyId) The OCID of the custom encryption key to be used to encrypt messages content.- Parameters:
- customEncryptionKeyId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateQueueDetails.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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateQueueDetails.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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateQueueDetails build() 
 - 
copypublic CreateQueueDetails.Builder copy(CreateQueueDetails model) 
 
- 
 
-