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