Class NotificationPreferences.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.NotificationPreferences.Builder
-
- Enclosing class:
- NotificationPreferences
public static class NotificationPreferences.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationPreferences
build()
NotificationPreferences.Builder
compartmentId(String compartmentId)
Compartment ID the topic belongs to.NotificationPreferences.Builder
copy(NotificationPreferences model)
NotificationPreferences.Builder
preferences(Preferences preferences)
NotificationPreferences.Builder
topicId(String topicId)
Topic Id where the notifications will be directed.
-
-
-
Method Detail
-
topicId
public NotificationPreferences.Builder topicId(String topicId)
Topic Id where the notifications will be directed.A topic is a communication channel for sending messages on chosen events to subscriptions.
- Parameters:
topicId
- the value to set- Returns:
- this builder
-
compartmentId
public NotificationPreferences.Builder compartmentId(String compartmentId)
Compartment ID the topic belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
preferences
public NotificationPreferences.Builder preferences(Preferences preferences)
-
build
public NotificationPreferences build()
-
copy
public NotificationPreferences.Builder copy(NotificationPreferences model)
-
-