public static class CreateAnnouncementSubscriptionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateAnnouncementSubscriptionDetails |
build() |
CreateAnnouncementSubscriptionDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where you want to create the announcement subscription.
|
CreateAnnouncementSubscriptionDetails.Builder |
copy(CreateAnnouncementSubscriptionDetails model) |
CreateAnnouncementSubscriptionDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateAnnouncementSubscriptionDetails.Builder |
description(String description)
A description of the announcement subscription.
|
CreateAnnouncementSubscriptionDetails.Builder |
displayName(String displayName)
A user-friendly name for the announcement subscription.
|
CreateAnnouncementSubscriptionDetails.Builder |
filterGroups(Map<String,FilterGroupDetails> filterGroups)
A list of filter groups for the announcement subscription.
|
CreateAnnouncementSubscriptionDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
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.
|
public 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.
displayName
- the value to setpublic CreateAnnouncementSubscriptionDetails.Builder description(String description)
A description of the announcement subscription. Avoid entering confidential information.
description
- the value to setpublic CreateAnnouncementSubscriptionDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the announcement subscription.
compartmentId
- the value to setpublic 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.
onsTopicId
- the value to setpublic 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.
filterGroups
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateAnnouncementSubscriptionDetails build()
public CreateAnnouncementSubscriptionDetails.Builder copy(CreateAnnouncementSubscriptionDetails model)
Copyright © 2016–2022. All rights reserved.