Package com.oracle.bmc.devops.model
Class CreatePullRequestDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.CreatePullRequestDetails.Builder
 
- 
- Enclosing class:
- CreatePullRequestDetails
 
 public static class CreatePullRequestDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePullRequestDetailsbuild()CreatePullRequestDetails.Buildercopy(CreatePullRequestDetails model)CreatePullRequestDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreatePullRequestDetails.Builderdescription(String description)Details of the pull request.CreatePullRequestDetails.BuilderdestinationBranch(String destinationBranch)The destination branch of the pull request.CreatePullRequestDetails.BuilderdisplayName(String displayName)Pull Request titleCreatePullRequestDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreatePullRequestDetails.BuilderrepositoryId(String repositoryId)The OCID of the repository.CreatePullRequestDetails.Builderreviewers(List<CreateReviewerDetails> reviewers)Reviewers for this pull request.CreatePullRequestDetails.BuildersourceBranch(String sourceBranch)The source branch of the pull request.CreatePullRequestDetails.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.
 
- 
- 
- 
Method Detail- 
displayNamepublic CreatePullRequestDetails.Builder displayName(String displayName) Pull Request title- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
sourceBranchpublic CreatePullRequestDetails.Builder sourceBranch(String sourceBranch) The source branch of the pull request.- Parameters:
- sourceBranch- the value to set
- Returns:
- this builder
 
 - 
destinationBranchpublic CreatePullRequestDetails.Builder destinationBranch(String destinationBranch) The destination branch of the pull request.If not provided, default branch will be used as the destination branch. - Parameters:
- destinationBranch- the value to set
- Returns:
- this builder
 
 - 
repositoryIdpublic CreatePullRequestDetails.Builder repositoryId(String repositoryId) The OCID of the repository.- Parameters:
- repositoryId- the value to set
- Returns:
- this builder
 
 - 
sourceRepositoryIdpublic CreatePullRequestDetails.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
 
 - 
descriptionpublic CreatePullRequestDetails.Builder description(String description) Details of the pull request.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
reviewerspublic CreatePullRequestDetails.Builder reviewers(List<CreateReviewerDetails> reviewers) Reviewers for this pull request.- Parameters:
- reviewers- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreatePullRequestDetails.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 CreatePullRequestDetails.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
 
 - 
buildpublic CreatePullRequestDetails build() 
 - 
copypublic CreatePullRequestDetails.Builder copy(CreatePullRequestDetails model) 
 
- 
 
-