Class UpdateAnnouncementSubscriptionDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public UpdateAnnouncementSubscriptionDetails.Builder displayName​(String displayName)
        A user-friendly name for the announcement subscription.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public UpdateAnnouncementSubscriptionDetails.Builder description​(String description)
        A description of the announcement subscription.

        Avoid entering confidential information.

        Parameters:
        description - the value to set
        Returns:
        this builder
      • onsTopicId

        public UpdateAnnouncementSubscriptionDetails.Builder onsTopicId​(String onsTopicId)
        The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription.

        The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see Details for Notifications.

        Parameters:
        onsTopicId - the value to set
        Returns:
        this builder
      • preferredLanguage

        public UpdateAnnouncementSubscriptionDetails.Builder preferredLanguage​(String preferredLanguage)
        (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements.

        Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.

        Parameters:
        preferredLanguage - the value to set
        Returns:
        this builder
      • preferredTimeZone

        public UpdateAnnouncementSubscriptionDetails.Builder preferredTimeZone​(String preferredTimeZone)
        The time zone in which the user prefers to receive announcements.

        Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles

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

        public UpdateAnnouncementSubscriptionDetails.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