public static class DiffSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public DiffSummary.Builder oldPath(String oldPath)
The path on the base version to the changed object.
oldPath
- the value to setpublic DiffSummary.Builder newPath(String newPath)
The path on the target version to the changed object.
newPath
- the value to setpublic DiffSummary.Builder oldId(String oldId)
The ID of the changed object on the base version.
oldId
- the value to setpublic DiffSummary.Builder newId(String newId)
The ID of the changed object on the target version.
newId
- the value to setpublic DiffSummary.Builder areConflictsInFile(Boolean areConflictsInFile)
Indicates whether the changed file contains conflicts.
areConflictsInFile
- the value to setpublic DiffSummary.Builder isLarge(Boolean isLarge)
Indicates whether the file is large.
isLarge
- the value to setpublic DiffSummary.Builder isBinary(Boolean isBinary)
Indicates whether the file is binary.
isBinary
- the value to setpublic DiffSummary.Builder changes(List<DiffChunk> changes)
List of changed section in the file.
changes
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic DiffSummary build()
public DiffSummary.Builder copy(DiffSummary model)
Copyright © 2016–2024. All rights reserved.