Package com.oracle.bmc.queue.model
Class QueueSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.model.QueueSummary.Builder
-
- Enclosing class:
- QueueSummary
public static class QueueSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public QueueSummary.Builder id(String id)
A unique identifier for the queue that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public 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.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public QueueSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the queue.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public 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
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public QueueSummary.Builder lifecycleState(Queue.LifecycleState lifecycleState)
The current state of the queue.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public QueueSummary.Builder lifecycleDetails(String lifecycleDetails)
Any additional details about the current state of the queue.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
messagesEndpoint
public QueueSummary.Builder messagesEndpoint(String messagesEndpoint)
The endpoint to use to consume or publish messages in the queue.- Parameters:
messagesEndpoint
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public QueueSummary build()
-
copy
public QueueSummary.Builder copy(QueueSummary model)
-
-