Class AnnouncementSubscription.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public AnnouncementSubscription.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 AnnouncementSubscription.Builder description​(String description)
        A description of the announcement subscription.

        Avoid entering confidential information.

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

        public AnnouncementSubscription.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the announcement subscription.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeCreated

        public AnnouncementSubscription.Builder timeCreated​(Date timeCreated)
        The date and time that the announcement subscription was created, expressed in RFC 3339 timestamp format.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public AnnouncementSubscription.Builder timeUpdated​(Date timeUpdated)
        The date and time that the announcement subscription was updated, expressed in RFC 3339 timestamp format.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public AnnouncementSubscription.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current lifecycle state in more detail.

        For example, details might provide required or recommended actions for a resource in a Failed state.

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

        public AnnouncementSubscription.Builder onsTopicId​(String onsTopicId)
        The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription.
        Parameters:
        onsTopicId - the value to set
        Returns:
        this builder
      • filterGroups

        public AnnouncementSubscription.Builder filterGroups​(Map<String,​FilterGroup> filterGroups)
        A list of filter groups for the announcement subscription.

        A filter group is a combination of multiple filters applied to announcements for matching purposes.

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

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