Package com.oracle.bmc.devops.model
Class DiffResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.DiffResponse.Builder
 
- 
- Enclosing class:
- DiffResponse
 
 public static class DiffResponse.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffResponse.BuilderaddedLinesCount(Integer addedLinesCount)The number of lines added in whole difference.DiffResponse.BuilderareAllChangesIncluded(Boolean areAllChangesIncluded)Boolean value to indicate if all changes are included in the response.DiffResponsebuild()DiffResponse.Builderchanges(List<DiffResponseEntry> changes)List of changes in the difference.DiffResponse.BuilderchangeTypeCount(Map<String,Integer> changeTypeCount)Count of each type of change in difference.DiffResponse.BuildercommitsAheadCount(Integer commitsAheadCount)The number of commits source is ahead of target by.DiffResponse.BuildercommitsBehindCount(Integer commitsBehindCount)The number of commits source is behind target by.DiffResponse.BuildercommonCommit(String commonCommit)The ID of the common commit between source and target.DiffResponse.Buildercopy(DiffResponse model)DiffResponse.BuilderdeletedLinesCount(Integer deletedLinesCount)The number of lines deleted in whole difference.
 
- 
- 
- 
Method Detail- 
areAllChangesIncludedpublic DiffResponse.Builder areAllChangesIncluded(Boolean areAllChangesIncluded) Boolean value to indicate if all changes are included in the response.- Parameters:
- areAllChangesIncluded- the value to set
- Returns:
- this builder
 
 - 
changeTypeCountpublic DiffResponse.Builder changeTypeCount(Map<String,Integer> changeTypeCount) Count of each type of change in difference.- Parameters:
- changeTypeCount- the value to set
- Returns:
- this builder
 
 - 
commonCommitpublic DiffResponse.Builder commonCommit(String commonCommit) The ID of the common commit between source and target.- Parameters:
- commonCommit- the value to set
- Returns:
- this builder
 
 - 
commitsAheadCountpublic DiffResponse.Builder commitsAheadCount(Integer commitsAheadCount) The number of commits source is ahead of target by.- Parameters:
- commitsAheadCount- the value to set
- Returns:
- this builder
 
 - 
commitsBehindCountpublic DiffResponse.Builder commitsBehindCount(Integer commitsBehindCount) The number of commits source is behind target by.- Parameters:
- commitsBehindCount- the value to set
- Returns:
- this builder
 
 - 
addedLinesCountpublic DiffResponse.Builder addedLinesCount(Integer addedLinesCount) The number of lines added in whole difference.- Parameters:
- addedLinesCount- the value to set
- Returns:
- this builder
 
 - 
deletedLinesCountpublic DiffResponse.Builder deletedLinesCount(Integer deletedLinesCount) The number of lines deleted in whole difference.- Parameters:
- deletedLinesCount- the value to set
- Returns:
- this builder
 
 - 
changespublic DiffResponse.Builder changes(List<DiffResponseEntry> changes) List of changes in the difference.- Parameters:
- changes- the value to set
- Returns:
- this builder
 
 - 
buildpublic DiffResponse build() 
 - 
copypublic DiffResponse.Builder copy(DiffResponse model) 
 
- 
 
-