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