Package com.oracle.bmc.devops.model
Class DiffSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.model.DiffSummary.Builder
 
- 
- Enclosing class:
- DiffSummary
 
 public static class DiffSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffSummary.BuilderareConflictsInFile(Boolean areConflictsInFile)Indicates whether the changed file contains conflicts.DiffSummarybuild()DiffSummary.Builderchanges(List<DiffChunk> changes)List of changed section in the file.DiffSummary.Buildercopy(DiffSummary model)DiffSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DiffSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DiffSummary.BuilderisBinary(Boolean isBinary)Indicates whether the file is binary.DiffSummary.BuilderisLarge(Boolean isLarge)Indicates whether the file is large.DiffSummary.BuildernewId(String newId)The ID of the changed object on the target version.DiffSummary.BuildernewPath(String newPath)The path on the target version to the changed object.DiffSummary.BuilderoldId(String oldId)The ID of the changed object on the base version.DiffSummary.BuilderoldPath(String oldPath)The path on the base version to the changed object.DiffSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.
 
- 
- 
- 
Method Detail- 
oldPathpublic DiffSummary.Builder oldPath(String oldPath) The path on the base version to the changed object.- Parameters:
- oldPath- the value to set
- Returns:
- this builder
 
 - 
newPathpublic DiffSummary.Builder newPath(String newPath) The path on the target version to the changed object.- Parameters:
- newPath- the value to set
- Returns:
- this builder
 
 - 
oldIdpublic DiffSummary.Builder oldId(String oldId) The ID of the changed object on the base version.- Parameters:
- oldId- the value to set
- Returns:
- this builder
 
 - 
newIdpublic DiffSummary.Builder newId(String newId) The ID of the changed object on the target version.- Parameters:
- newId- the value to set
- Returns:
- this builder
 
 - 
areConflictsInFilepublic DiffSummary.Builder areConflictsInFile(Boolean areConflictsInFile) Indicates whether the changed file contains conflicts.- Parameters:
- areConflictsInFile- the value to set
- Returns:
- this builder
 
 - 
isLargepublic DiffSummary.Builder isLarge(Boolean isLarge) Indicates whether the file is large.- Parameters:
- isLarge- the value to set
- Returns:
- this builder
 
 - 
isBinarypublic DiffSummary.Builder isBinary(Boolean isBinary) Indicates whether the file is binary.- Parameters:
- isBinary- the value to set
- Returns:
- this builder
 
 - 
changespublic DiffSummary.Builder changes(List<DiffChunk> changes) List of changed section in the file.- Parameters:
- changes- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DiffSummary.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 DiffSummary.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 DiffSummary.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 DiffSummary build() 
 - 
copypublic DiffSummary.Builder copy(DiffSummary model) 
 
- 
 
-