Package com.oracle.bmc.devops.model
Class PullRequestSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.PullRequestSummary.Builder
 
- 
- Enclosing class:
- PullRequestSummary
 
 public static class PullRequestSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PullRequestSummarybuild()PullRequestSummary.BuildercompartmentId(String compartmentId)Compartment IdentifierPullRequestSummary.Buildercopy(PullRequestSummary model)PullRequestSummary.BuildercreatedBy(PrincipalDetails createdBy)PullRequestSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PullRequestSummary.Builderdescription(String description)Details of the pull request.PullRequestSummary.BuilderdestinationBranch(String destinationBranch)The destination branch against which the changes are to be reviewed.PullRequestSummary.BuilderdisplayName(String displayName)Pull Request title, can be renamedPullRequestSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.PullRequestSummary.Builderid(String id)Unique identifier that is immutable on creationPullRequestSummary.BuilderlifecycleDetails(PullRequest.LifecycleDetails lifecycleDetails)The status of the Pull Request.PullRequestSummary.BuilderlifecycleState(PullRequest.LifecycleState lifecycleState)The current state of the Pull Request.PullRequestSummary.BuildermergeBaseCommitIdAtTermination(String mergeBaseCommitIdAtTermination)The merge base commit ID when the Pull Request status was last changed to merged or closedPullRequestSummary.BuilderrepositoryId(String repositoryId)DevOps Repository IdentifierPullRequestSummary.BuildersourceBranch(String sourceBranch)The review branch which contains the changes to be reviewed.PullRequestSummary.BuildersourceCommitIdAtTermination(String sourceCommitIdAtTermination)The source branch commit ID when the Pull Request status was last changed to merged or closedPullRequestSummary.BuildersourceRepositoryId(String sourceRepositoryId)The OCID of the forked repository that will act as the source of the changes to be included in the pull request against the parent repository.PullRequestSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.PullRequestSummary.BuildertimeCreated(Date timeCreated)The time the the Pull Request was created.PullRequestSummary.BuildertimeUpdated(Date timeUpdated)The time the Pull Request was updated.PullRequestSummary.BuildertotalComments(Integer totalComments)The total number of comments on the pull request.PullRequestSummary.BuildertotalReviewers(Integer totalReviewers)The total number of reviewers on the pull request.
 
- 
- 
- 
Method Detail- 
idpublic PullRequestSummary.Builder id(String id) Unique identifier that is immutable on creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic PullRequestSummary.Builder displayName(String displayName) Pull Request title, can be renamed- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic PullRequestSummary.Builder compartmentId(String compartmentId) Compartment Identifier- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic PullRequestSummary.Builder description(String description) Details of the pull request.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
repositoryIdpublic PullRequestSummary.Builder repositoryId(String repositoryId) DevOps Repository Identifier- Parameters:
- repositoryId- the value to set
- Returns:
- this builder
 
 - 
sourceRepositoryIdpublic PullRequestSummary.Builder sourceRepositoryId(String sourceRepositoryId) The OCID of the forked repository that will act as the source of the changes to be included in the pull request against the parent repository.- Parameters:
- sourceRepositoryId- the value to set
- Returns:
- this builder
 
 - 
sourceBranchpublic PullRequestSummary.Builder sourceBranch(String sourceBranch) The review branch which contains the changes to be reviewed.- Parameters:
- sourceBranch- the value to set
- Returns:
- this builder
 
 - 
destinationBranchpublic PullRequestSummary.Builder destinationBranch(String destinationBranch) The destination branch against which the changes are to be reviewed.- Parameters:
- destinationBranch- the value to set
- Returns:
- this builder
 
 - 
sourceCommitIdAtTerminationpublic PullRequestSummary.Builder sourceCommitIdAtTermination(String sourceCommitIdAtTermination) The source branch commit ID when the Pull Request status was last changed to merged or closed- Parameters:
- sourceCommitIdAtTermination- the value to set
- Returns:
- this builder
 
 - 
mergeBaseCommitIdAtTerminationpublic PullRequestSummary.Builder mergeBaseCommitIdAtTermination(String mergeBaseCommitIdAtTermination) The merge base commit ID when the Pull Request status was last changed to merged or closed- Parameters:
- mergeBaseCommitIdAtTermination- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PullRequestSummary.Builder timeCreated(Date timeCreated) The time the the Pull Request was created.An RFC3339 formatted datetime string - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic PullRequestSummary.Builder timeUpdated(Date timeUpdated) The time the Pull Request was updated.An RFC3339 formatted datetime string - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic PullRequestSummary.Builder lifecycleState(PullRequest.LifecycleState lifecycleState) The current state of the Pull Request.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic PullRequestSummary.Builder lifecycleDetails(PullRequest.LifecycleDetails lifecycleDetails) The status of the Pull Request.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
totalCommentspublic PullRequestSummary.Builder totalComments(Integer totalComments) The total number of comments on the pull request.- Parameters:
- totalComments- the value to set
- Returns:
- this builder
 
 - 
totalReviewerspublic PullRequestSummary.Builder totalReviewers(Integer totalReviewers) The total number of reviewers on the pull request.- Parameters:
- totalReviewers- the value to set
- Returns:
- this builder
 
 - 
createdBypublic PullRequestSummary.Builder createdBy(PrincipalDetails createdBy) 
 - 
freeformTagspublic PullRequestSummary.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. See Resource Tags. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic PullRequestSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic PullRequestSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. See Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic PullRequestSummary build() 
 - 
copypublic PullRequestSummary.Builder copy(PullRequestSummary model) 
 
- 
 
-