public static class AnnouncementSubscription.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AnnouncementSubscription |
build() |
AnnouncementSubscription.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the announcement subscription.
|
AnnouncementSubscription.Builder |
copy(AnnouncementSubscription model) |
AnnouncementSubscription.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AnnouncementSubscription.Builder |
description(String description)
A description of the announcement subscription.
|
AnnouncementSubscription.Builder |
displayName(String displayName)
A user-friendly name for the announcement subscription.
|
AnnouncementSubscription.Builder |
filterGroups(Map<String,FilterGroup> filterGroups)
A list of filter groups for the announcement subscription.
|
AnnouncementSubscription.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AnnouncementSubscription.Builder |
id(String id)
The OCID of the
announcement subscription.
|
AnnouncementSubscription.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current lifecycle state in more detail.
|
AnnouncementSubscription.Builder |
lifecycleState(AnnouncementSubscription.LifecycleState lifecycleState)
The current lifecycle state of the announcement subscription.
|
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.
|
AnnouncementSubscription.Builder |
preferredLanguage(String preferredLanguage)
(For announcement subscriptions with Oracle Fusion Applications configured as the service
only) The language in which the user prefers to receive emailed announcements.
|
AnnouncementSubscription.Builder |
preferredTimeZone(String preferredTimeZone)
The time zone that the user prefers for announcement time stamps.
|
AnnouncementSubscription.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
AnnouncementSubscription.Builder |
timeCreated(Date timeCreated)
The date and time that the announcement subscription was created, expressed in RFC
3339 timestamp format.
|
AnnouncementSubscription.Builder |
timeUpdated(Date timeUpdated)
The date and time that the announcement subscription was updated, expressed in RFC
3339 timestamp format.
|
public AnnouncementSubscription.Builder id(String id)
The OCID of the announcement subscription.
id
- the value to setpublic 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.
displayName
- the value to setpublic AnnouncementSubscription.Builder description(String description)
A description of the announcement subscription. Avoid entering confidential information.
description
- the value to setpublic AnnouncementSubscription.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the announcement subscription.
compartmentId
- the value to setpublic AnnouncementSubscription.Builder timeCreated(Date timeCreated)
The date and time that the announcement subscription was created, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic AnnouncementSubscription.Builder timeUpdated(Date timeUpdated)
The date and time that the announcement subscription was updated, expressed in RFC 3339 timestamp format.
timeUpdated
- the value to setpublic AnnouncementSubscription.Builder lifecycleState(AnnouncementSubscription.LifecycleState lifecycleState)
The current lifecycle state of the announcement subscription.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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.
onsTopicId
- the value to setpublic 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.
filterGroups
- the value to setpublic AnnouncementSubscription.Builder preferredLanguage(String preferredLanguage)
(For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.
preferredLanguage
- the value to setpublic AnnouncementSubscription.Builder preferredTimeZone(String preferredTimeZone)
The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.
preferredTimeZone
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic AnnouncementSubscription build()
public AnnouncementSubscription.Builder copy(AnnouncementSubscription model)
Copyright © 2016–2023. All rights reserved.