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 CreatePullRequestCommentDetailsbuild()CreatePullRequestCommentDetails.BuildercommitId(String commitId)Commit SHACreatePullRequestCommentDetails.Buildercopy(CreatePullRequestCommentDetails model)CreatePullRequestCommentDetails.Builderdata(String data)Content of the Comment.CreatePullRequestCommentDetails.BuilderfilePath(String filePath)File path in the commitCreatePullRequestCommentDetails.BuilderfileType(PullRequestComment.FileType fileType)File path in the target commitCreatePullRequestCommentDetails.BuilderlineNumber(Integer lineNumber)Line number in the fileCreatePullRequestCommentDetails.BuilderparentId(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)
-
-