public static class PullRequestFileChangeSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PullRequestFileChangeSummary.Builder |
addedLinesCount(Integer addedLinesCount)
The number of lines added in whole difference.
|
PullRequestFileChangeSummary |
build() |
PullRequestFileChangeSummary.Builder |
changeType(String changeType)
Type of change made to file.
|
PullRequestFileChangeSummary.Builder |
commitId(String commitId)
The ID of the commit where the change is coming from.
|
PullRequestFileChangeSummary.Builder |
copy(PullRequestFileChangeSummary model) |
PullRequestFileChangeSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
PullRequestFileChangeSummary.Builder |
deletedLinesCount(Integer deletedLinesCount)
The number of lines deleted in whole difference.
|
PullRequestFileChangeSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
PullRequestFileChangeSummary.Builder |
hasConflicts(Boolean hasConflicts)
Indicates whether the changed file contains conflicts.
|
PullRequestFileChangeSummary.Builder |
newId(String newId)
The ID of the changed object on the source.
|
PullRequestFileChangeSummary.Builder |
newPath(String newPath)
The path on the source to the changed object.
|
PullRequestFileChangeSummary.Builder |
objectType(String objectType)
The type of the changed object.
|
PullRequestFileChangeSummary.Builder |
oldId(String oldId)
The ID of the changed object on the target.
|
PullRequestFileChangeSummary.Builder |
oldPath(String oldPath)
The path on the target to the changed object.
|
PullRequestFileChangeSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
public PullRequestFileChangeSummary.Builder changeType(String changeType)
Type of change made to file.
changeType
- the value to setpublic PullRequestFileChangeSummary.Builder objectType(String objectType)
The type of the changed object.
objectType
- the value to setpublic PullRequestFileChangeSummary.Builder commitId(String commitId)
The ID of the commit where the change is coming from.
commitId
- the value to setpublic PullRequestFileChangeSummary.Builder oldPath(String oldPath)
The path on the target to the changed object.
oldPath
- the value to setpublic PullRequestFileChangeSummary.Builder newPath(String newPath)
The path on the source to the changed object.
newPath
- the value to setpublic PullRequestFileChangeSummary.Builder oldId(String oldId)
The ID of the changed object on the target.
oldId
- the value to setpublic PullRequestFileChangeSummary.Builder newId(String newId)
The ID of the changed object on the source.
newId
- the value to setpublic PullRequestFileChangeSummary.Builder addedLinesCount(Integer addedLinesCount)
The number of lines added in whole difference.
addedLinesCount
- the value to setpublic PullRequestFileChangeSummary.Builder deletedLinesCount(Integer deletedLinesCount)
The number of lines deleted in whole difference.
deletedLinesCount
- the value to setpublic PullRequestFileChangeSummary.Builder hasConflicts(Boolean hasConflicts)
Indicates whether the changed file contains conflicts.
hasConflicts
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic PullRequestFileChangeSummary build()
public PullRequestFileChangeSummary.Builder copy(PullRequestFileChangeSummary model)
Copyright © 2016–2024. All rights reserved.