Class ConsumerGroupSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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