Class QueueSummary.Builder

    • Constructor Detail

      • Builder

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