Package com.oracle.bmc.devops.model
Class ProjectNotificationPreference.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.ProjectNotificationPreference.Builder
-
- Enclosing class:
- ProjectNotificationPreference
public static class ProjectNotificationPreference.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectNotificationPreferencebuild()ProjectNotificationPreference.Buildercopy(ProjectNotificationPreference model)ProjectNotificationPreference.BuildernotificationPreference(ProjectNotificationPreference.NotificationPreference notificationPreference)The override value of project notification preference.ProjectNotificationPreference.BuilderprojectId(String projectId)The ocid of project resourceProjectNotificationPreference.BuilderuserId(String userId)The ocid of user.
-
-
-
Method Detail
-
projectId
public ProjectNotificationPreference.Builder projectId(String projectId)
The ocid of project resource- Parameters:
projectId- the value to set- Returns:
- this builder
-
userId
public ProjectNotificationPreference.Builder userId(String userId)
The ocid of user.- Parameters:
userId- the value to set- Returns:
- this builder
-
notificationPreference
public ProjectNotificationPreference.Builder notificationPreference(ProjectNotificationPreference.NotificationPreference notificationPreference)
The override value of project notification preference.- Parameters:
notificationPreference- the value to set- Returns:
- this builder
-
build
public ProjectNotificationPreference build()
-
copy
public ProjectNotificationPreference.Builder copy(ProjectNotificationPreference model)
-
-