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