Class NotificationTopic.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • shortTopicId

        public NotificationTopic.Builder shortTopicId​(String shortTopicId)
        A unique short topic Id.

        This is used only for SMS subscriptions.

        Parameters:
        shortTopicId - the value to set
        Returns:
        this builder
      • compartmentId

        public NotificationTopic.Builder compartmentId​(String compartmentId)
        The OCID of the compartment for the topic.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • description

        public NotificationTopic.Builder description​(String description)
        The description of the topic.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeCreated

        public NotificationTopic.Builder timeCreated​(Date timeCreated)
        The time the topic was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • etag

        public NotificationTopic.Builder etag​(String etag)
        For optimistic concurrency control.

        See if-match.

        Parameters:
        etag - the value to set
        Returns:
        this builder
      • freeformTags

        public NotificationTopic.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public NotificationTopic.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • apiEndpoint

        public NotificationTopic.Builder apiEndpoint​(String apiEndpoint)
        The endpoint for managing subscriptions or publishing messages to the topic.
        Parameters:
        apiEndpoint - the value to set
        Returns:
        this builder