Class NotificationPreference.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.NotificationPreference.Builder
-
- Enclosing class:
- NotificationPreference
public static class NotificationPreference.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationPreferencebuild()NotificationPreference.BuildercompartmentId(String compartmentId)Compartment ID the topic belongs to.NotificationPreference.Buildercopy(NotificationPreference model)NotificationPreference.Builderpreferences(Preferences preferences)NotificationPreference.BuildertopicId(String topicId)Topic Id where the notifications will be directed.
-
-
-
Method Detail
-
topicId
public NotificationPreference.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 NotificationPreference.Builder compartmentId(String compartmentId)
Compartment ID the topic belongs to.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
preferences
public NotificationPreference.Builder preferences(Preferences preferences)
-
build
public NotificationPreference build()
-
copy
public NotificationPreference.Builder copy(NotificationPreference model)
-
-