Class CreateAnnouncementSubscriptionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.announcementsservice.model.CreateAnnouncementSubscriptionDetails.Builder
 
- 
- Enclosing class:
- CreateAnnouncementSubscriptionDetails
 
 public static class CreateAnnouncementSubscriptionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAnnouncementSubscriptionDetailsbuild()CreateAnnouncementSubscriptionDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment where you want to create the announcement subscription.CreateAnnouncementSubscriptionDetails.Buildercopy(CreateAnnouncementSubscriptionDetails model)CreateAnnouncementSubscriptionDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateAnnouncementSubscriptionDetails.Builderdescription(String description)A description of the announcement subscription.CreateAnnouncementSubscriptionDetails.BuilderdisplayName(String displayName)A user-friendly name for the announcement subscription.CreateAnnouncementSubscriptionDetails.BuilderfilterGroups(Map<String,FilterGroupDetails> filterGroups)A list of filter groups for the announcement subscription.CreateAnnouncementSubscriptionDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateAnnouncementSubscriptionDetails.BuilderonsTopicId(String onsTopicId)The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription.CreateAnnouncementSubscriptionDetails.BuilderpreferredLanguage(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.CreateAnnouncementSubscriptionDetails.BuilderpreferredTimeZone(String preferredTimeZone)The time zone in which the user prefers to receive announcements.
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateAnnouncementSubscriptionDetails.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
 
 - 
descriptionpublic CreateAnnouncementSubscriptionDetails.Builder description(String description) A description of the announcement subscription.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateAnnouncementSubscriptionDetails.Builder compartmentId(String compartmentId) The OCID of the compartment where you want to create the announcement subscription.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
onsTopicIdpublic CreateAnnouncementSubscriptionDetails.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
 
 - 
filterGroupspublic CreateAnnouncementSubscriptionDetails.Builder filterGroups(Map<String,FilterGroupDetails> filterGroups) A list of filter groups for the announcement subscription.A filter group combines one or more filters that the Announcements service applies to announcements for matching purposes. - Parameters:
- filterGroups- the value to set
- Returns:
- this builder
 
 - 
preferredLanguagepublic CreateAnnouncementSubscriptionDetails.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
 
 - 
preferredTimeZonepublic CreateAnnouncementSubscriptionDetails.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
 
 - 
freeformTagspublic CreateAnnouncementSubscriptionDetails.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
 
 - 
definedTagspublic CreateAnnouncementSubscriptionDetails.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
 
 - 
buildpublic CreateAnnouncementSubscriptionDetails build() 
 - 
copypublic CreateAnnouncementSubscriptionDetails.Builder copy(CreateAnnouncementSubscriptionDetails model) 
 
- 
 
-