Package com.oracle.bmc.devops.model
Class CreatePullRequestCommentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.CreatePullRequestCommentDetails.Builder
-
- Enclosing class:
- CreatePullRequestCommentDetails
public static class CreatePullRequestCommentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePullRequestCommentDetails
build()
CreatePullRequestCommentDetails.Builder
commitId(String commitId)
Commit SHACreatePullRequestCommentDetails.Builder
copy(CreatePullRequestCommentDetails model)
CreatePullRequestCommentDetails.Builder
data(String data)
Content of the Comment.CreatePullRequestCommentDetails.Builder
filePath(String filePath)
File path in the commitCreatePullRequestCommentDetails.Builder
fileType(PullRequestComment.FileType fileType)
File path in the target commitCreatePullRequestCommentDetails.Builder
lineNumber(Integer lineNumber)
Line number in the fileCreatePullRequestCommentDetails.Builder
parentId(String parentId)
ID of parent Comment
-
-
-
Method Detail
-
data
public CreatePullRequestCommentDetails.Builder data(String data)
Content of the Comment.- Parameters:
data
- the value to set- Returns:
- this builder
-
parentId
public CreatePullRequestCommentDetails.Builder parentId(String parentId)
ID of parent Comment- Parameters:
parentId
- the value to set- Returns:
- this builder
-
filePath
public CreatePullRequestCommentDetails.Builder filePath(String filePath)
File path in the commit- Parameters:
filePath
- the value to set- Returns:
- this builder
-
commitId
public CreatePullRequestCommentDetails.Builder commitId(String commitId)
Commit SHA- Parameters:
commitId
- the value to set- Returns:
- this builder
-
fileType
public CreatePullRequestCommentDetails.Builder fileType(PullRequestComment.FileType fileType)
File path in the target commit- Parameters:
fileType
- the value to set- Returns:
- this builder
-
lineNumber
public CreatePullRequestCommentDetails.Builder lineNumber(Integer lineNumber)
Line number in the file- Parameters:
lineNumber
- the value to set- Returns:
- this builder
-
build
public CreatePullRequestCommentDetails build()
-
copy
public CreatePullRequestCommentDetails.Builder copy(CreatePullRequestCommentDetails model)
-
-