Class ConfirmationResult.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • topicName

        public ConfirmationResult.Builder topicName​(String topicName)
        The name of the subscribed topic.
        Parameters:
        topicName - the value to set
        Returns:
        this builder
      • topicId

        public ConfirmationResult.Builder topicId​(String topicId)
        The OCID of the topic associated with the specified subscription.
        Parameters:
        topicId - the value to set
        Returns:
        this builder
      • endpoint

        public ConfirmationResult.Builder endpoint​(String endpoint)
        A locator that corresponds to the subscription protocol.

        For example, an email address for a subscription that uses the EMAIL protocol, or a URL for a subscription that uses an HTTP-based protocol.

        Parameters:
        endpoint - the value to set
        Returns:
        this builder
      • unsubscribeUrl

        public ConfirmationResult.Builder unsubscribeUrl​(String unsubscribeUrl)
        The URL for unsubscribing from the topic.
        Parameters:
        unsubscribeUrl - the value to set
        Returns:
        this builder
      • message

        public ConfirmationResult.Builder message​(String message)
        A human-readable string indicating the status of the subscription confirmation.
        Parameters:
        message - the value to set
        Returns:
        this builder
      • subscriptionId

        public ConfirmationResult.Builder subscriptionId​(String subscriptionId)
        The OCID of the subscription specified in the request.
        Parameters:
        subscriptionId - the value to set
        Returns:
        this builder