Package com.oracle.bmc.devops.model
Class PullRequestFileChangeSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.PullRequestFileChangeSummary.Builder
 
- 
- Enclosing class:
- PullRequestFileChangeSummary
 
 public static class PullRequestFileChangeSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PullRequestFileChangeSummary.BuilderaddedLinesCount(Integer addedLinesCount)The number of lines added in whole difference.PullRequestFileChangeSummarybuild()PullRequestFileChangeSummary.BuilderchangeType(String changeType)Type of change made to file.PullRequestFileChangeSummary.BuildercommitId(String commitId)The ID of the commit where the change is coming from.PullRequestFileChangeSummary.Buildercopy(PullRequestFileChangeSummary model)PullRequestFileChangeSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PullRequestFileChangeSummary.BuilderdeletedLinesCount(Integer deletedLinesCount)The number of lines deleted in whole difference.PullRequestFileChangeSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.PullRequestFileChangeSummary.BuilderhasConflicts(Boolean hasConflicts)Indicates whether the changed file contains conflicts.PullRequestFileChangeSummary.BuildernewId(String newId)The ID of the changed object on the source.PullRequestFileChangeSummary.BuildernewPath(String newPath)The path on the source to the changed object.PullRequestFileChangeSummary.BuilderobjectType(String objectType)The type of the changed object.PullRequestFileChangeSummary.BuilderoldId(String oldId)The ID of the changed object on the target.PullRequestFileChangeSummary.BuilderoldPath(String oldPath)The path on the target to the changed object.PullRequestFileChangeSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.
 
- 
- 
- 
Method Detail- 
changeTypepublic PullRequestFileChangeSummary.Builder changeType(String changeType) Type of change made to file.- Parameters:
- changeType- the value to set
- Returns:
- this builder
 
 - 
objectTypepublic PullRequestFileChangeSummary.Builder objectType(String objectType) The type of the changed object.- Parameters:
- objectType- the value to set
- Returns:
- this builder
 
 - 
commitIdpublic PullRequestFileChangeSummary.Builder commitId(String commitId) The ID of the commit where the change is coming from.- Parameters:
- commitId- the value to set
- Returns:
- this builder
 
 - 
oldPathpublic PullRequestFileChangeSummary.Builder oldPath(String oldPath) The path on the target to the changed object.- Parameters:
- oldPath- the value to set
- Returns:
- this builder
 
 - 
newPathpublic PullRequestFileChangeSummary.Builder newPath(String newPath) The path on the source to the changed object.- Parameters:
- newPath- the value to set
- Returns:
- this builder
 
 - 
oldIdpublic PullRequestFileChangeSummary.Builder oldId(String oldId) The ID of the changed object on the target.- Parameters:
- oldId- the value to set
- Returns:
- this builder
 
 - 
newIdpublic PullRequestFileChangeSummary.Builder newId(String newId) The ID of the changed object on the source.- Parameters:
- newId- the value to set
- Returns:
- this builder
 
 - 
addedLinesCountpublic PullRequestFileChangeSummary.Builder addedLinesCount(Integer addedLinesCount) The number of lines added in whole difference.- Parameters:
- addedLinesCount- the value to set
- Returns:
- this builder
 
 - 
deletedLinesCountpublic PullRequestFileChangeSummary.Builder deletedLinesCount(Integer deletedLinesCount) The number of lines deleted in whole difference.- Parameters:
- deletedLinesCount- the value to set
- Returns:
- this builder
 
 - 
hasConflictspublic PullRequestFileChangeSummary.Builder hasConflicts(Boolean hasConflicts) Indicates whether the changed file contains conflicts.- Parameters:
- hasConflicts- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic PullRequestFileChangeSummary.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 PullRequestFileChangeSummary.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 PullRequestFileChangeSummary.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 PullRequestFileChangeSummary build() 
 - 
copypublic PullRequestFileChangeSummary.Builder copy(PullRequestFileChangeSummary model) 
 
- 
 
-