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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffSummary.Builder
areConflictsInFile(Boolean areConflictsInFile)
Indicates whether the changed file contains conflicts.DiffSummary
build()
DiffSummary.Builder
changes(List<DiffChunk> changes)
List of changed section in the file.DiffSummary.Builder
copy(DiffSummary model)
DiffSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DiffSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DiffSummary.Builder
isBinary(Boolean isBinary)
Indicates whether the file is binary.DiffSummary.Builder
isLarge(Boolean isLarge)
Indicates whether the file is large.DiffSummary.Builder
newId(String newId)
The ID of the changed object on the target version.DiffSummary.Builder
newPath(String newPath)
The path on the target version to the changed object.DiffSummary.Builder
oldId(String oldId)
The ID of the changed object on the base version.DiffSummary.Builder
oldPath(String oldPath)
The path on the base version to the changed object.DiffSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
-
-
-
Method Detail
-
oldPath
public DiffSummary.Builder oldPath(String oldPath)
The path on the base version to the changed object.- Parameters:
oldPath
- the value to set- Returns:
- this builder
-
newPath
public DiffSummary.Builder newPath(String newPath)
The path on the target version to the changed object.- Parameters:
newPath
- the value to set- Returns:
- this builder
-
oldId
public DiffSummary.Builder oldId(String oldId)
The ID of the changed object on the base version.- Parameters:
oldId
- the value to set- Returns:
- this builder
-
newId
public DiffSummary.Builder newId(String newId)
The ID of the changed object on the target version.- Parameters:
newId
- the value to set- Returns:
- this builder
-
areConflictsInFile
public DiffSummary.Builder areConflictsInFile(Boolean areConflictsInFile)
Indicates whether the changed file contains conflicts.- Parameters:
areConflictsInFile
- the value to set- Returns:
- this builder
-
isLarge
public DiffSummary.Builder isLarge(Boolean isLarge)
Indicates whether the file is large.- Parameters:
isLarge
- the value to set- Returns:
- this builder
-
isBinary
public DiffSummary.Builder isBinary(Boolean isBinary)
Indicates whether the file is binary.- Parameters:
isBinary
- the value to set- Returns:
- this builder
-
changes
public DiffSummary.Builder changes(List<DiffChunk> changes)
List of changed section in the file.- Parameters:
changes
- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public DiffSummary build()
-
copy
public DiffSummary.Builder copy(DiffSummary model)
-
-