Package com.oracle.bmc.queue.model
Class ConsumerGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.model.ConsumerGroupSummary.Builder
-
- Enclosing class:
- ConsumerGroupSummary
public static class ConsumerGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsumerGroupSummarybuild()ConsumerGroupSummary.Buildercopy(ConsumerGroupSummary model)ConsumerGroupSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ConsumerGroupSummary.BuilderdisplayName(String displayName)A user-friendly name for the consumer group.ConsumerGroupSummary.Builderfilter(String filter)The filter used by the consumer group.ConsumerGroupSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ConsumerGroupSummary.Builderid(String id)A unique identifier for the consumer group that is immutable on creation.ConsumerGroupSummary.BuilderlifecycleDetails(String lifecycleDetails)Any additional details about the current state of the consumer group.ConsumerGroupSummary.BuilderlifecycleState(ConsumerGroup.LifecycleState lifecycleState)The current state of the consumer group.ConsumerGroupSummary.BuilderqueueId(String queueId)The OCID of the associated queue.ConsumerGroupSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ConsumerGroupSummary.BuildertimeCreated(Date timeCreated)The time that the consumer group was created, expressed in RFC 3339 timestamp format.ConsumerGroupSummary.BuildertimeUpdated(Date timeUpdated)The time that the consumer group was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public ConsumerGroupSummary.Builder id(String id)
A unique identifier for the consumer group that is immutable on creation.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ConsumerGroupSummary.Builder displayName(String displayName)
A user-friendly name for the consumer group.It has to be unique within the same queue in a case-insensitive manner. It’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public ConsumerGroupSummary.Builder timeCreated(Date timeCreated)
The time that the consumer group 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 ConsumerGroupSummary.Builder timeUpdated(Date timeUpdated)
The time that the consumer group 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 ConsumerGroupSummary.Builder lifecycleState(ConsumerGroup.LifecycleState lifecycleState)
The current state of the consumer group.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ConsumerGroupSummary.Builder lifecycleDetails(String lifecycleDetails)
Any additional details about the current state of the consumer group.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
filter
public ConsumerGroupSummary.Builder filter(String filter)
The filter used by the consumer group.Only messages matching the filter will be available by consumers of the group.
- Parameters:
filter- the value to set- Returns:
- this builder
-
queueId
public ConsumerGroupSummary.Builder queueId(String queueId)
The OCID of the associated queue.- Parameters:
queueId- the value to set- Returns:
- this builder
-
freeformTags
public ConsumerGroupSummary.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 ConsumerGroupSummary.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 ConsumerGroupSummary.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 ConsumerGroupSummary build()
-
copy
public ConsumerGroupSummary.Builder copy(ConsumerGroupSummary model)
-
-