public static class QueueSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
QueueSummary |
build() |
QueueSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the queue.
|
QueueSummary.Builder |
copy(QueueSummary model) |
QueueSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
QueueSummary.Builder |
displayName(String displayName)
A user-friendly name for the queue.
|
QueueSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
QueueSummary.Builder |
id(String id)
A unique identifier for the queue that is immutable on creation.
|
QueueSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Any additional details about the current state of the queue.
|
QueueSummary.Builder |
lifecycleState(Queue.LifecycleState lifecycleState)
The current state of the queue.
|
QueueSummary.Builder |
messagesEndpoint(String messagesEndpoint)
The endpoint to use to consume or publish messages in the queue.
|
QueueSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
QueueSummary.Builder |
timeCreated(Date timeCreated)
The time that the queue was created, expressed in RFC
3339 timestamp format.
|
QueueSummary.Builder |
timeUpdated(Date timeUpdated)
The time that the queue was updated, expressed in RFC
3339 timestamp format.
|
public QueueSummary.Builder id(String id)
A unique identifier for the queue that is immutable on creation.
id
- the value to setpublic QueueSummary.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 QueueSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the queue.
compartmentId
- the value to setpublic QueueSummary.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 QueueSummary.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 QueueSummary.Builder lifecycleState(Queue.LifecycleState lifecycleState)
The current state of the queue.
lifecycleState
- the value to setpublic QueueSummary.Builder lifecycleDetails(String lifecycleDetails)
Any additional details about the current state of the queue.
lifecycleDetails
- the value to setpublic QueueSummary.Builder messagesEndpoint(String messagesEndpoint)
The endpoint to use to consume or publish messages in the queue.
messagesEndpoint
- the value to setpublic QueueSummary.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 QueueSummary.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 QueueSummary.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 QueueSummary build()
public QueueSummary.Builder copy(QueueSummary model)
Copyright © 2016–2024. All rights reserved.