Package com.oracle.bmc.devops.model
Class PullRequestComment.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.PullRequestComment.Builder
 
- 
- Enclosing class:
- PullRequestComment
 
 public static class PullRequestComment.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic PullRequestComment.Builder id(String id) Unique identifier that is immutable on creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
pullRequestIdpublic PullRequestComment.Builder pullRequestId(String pullRequestId) OCID of the pull request that this comment belongs to- Parameters:
- pullRequestId- the value to set
- Returns:
- this builder
 
 - 
datapublic PullRequestComment.Builder data(String data) Content of the Comment.- Parameters:
- data- the value to set
- Returns:
- this builder
 
 - 
parentIdpublic PullRequestComment.Builder parentId(String parentId) ID of parent Comment- Parameters:
- parentId- the value to set
- Returns:
- this builder
 
 - 
filePathpublic PullRequestComment.Builder filePath(String filePath) File path in the commit- Parameters:
- filePath- the value to set
- Returns:
- this builder
 
 - 
commitIdpublic PullRequestComment.Builder commitId(String commitId) Commit SHA- Parameters:
- commitId- the value to set
- Returns:
- this builder
 
 - 
fileTypepublic PullRequestComment.Builder fileType(PullRequestComment.FileType fileType) File path in the target commit- Parameters:
- fileType- the value to set
- Returns:
- this builder
 
 - 
lineNumberpublic PullRequestComment.Builder lineNumber(Integer lineNumber) Line number in the file- Parameters:
- lineNumber- the value to set
- Returns:
- this builder
 
 - 
likespublic PullRequestComment.Builder likes(PullRequestCommentLikeCollection likes) 
 - 
statuspublic PullRequestComment.Builder status(PullRequestComment.Status status) Status of the Comment- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PullRequestComment.Builder timeCreated(Date timeCreated) Creation timestamp.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
createdBypublic PullRequestComment.Builder createdBy(PrincipalDetails createdBy) 
 - 
timeUpdatedpublic PullRequestComment.Builder timeUpdated(Date timeUpdated) Latest update timestamp.Format defined by RFC3339. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
updatedBypublic PullRequestComment.Builder updatedBy(PrincipalDetails updatedBy) 
 - 
contextStatuspublic PullRequestComment.Builder contextStatus(PullRequestComment.ContextStatus contextStatus) Shows the status of an inline comments context- Parameters:
- contextStatus- the value to set
- Returns:
- this builder
 
 - 
commentContextpublic PullRequestComment.Builder commentContext(List<DiffLineDetails> commentContext) 4 line snippet to be displayed as context for inline comments- Parameters:
- commentContext- the value to set
- Returns:
- this builder
 
 - 
buildpublic PullRequestComment build() 
 - 
copypublic PullRequestComment.Builder copy(PullRequestComment model) 
 
- 
 
-