Package com.oracle.bmc.devops.model
Class PullRequestFileChangeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.PullRequestFileChangeSummary.Builder
-
- Enclosing class:
- PullRequestFileChangeSummary
public static class PullRequestFileChangeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
changeType
public PullRequestFileChangeSummary.Builder changeType(String changeType)
Type of change made to file.- Parameters:
changeType
- the value to set- Returns:
- this builder
-
objectType
public PullRequestFileChangeSummary.Builder objectType(String objectType)
The type of the changed object.- Parameters:
objectType
- the value to set- Returns:
- this builder
-
commitId
public PullRequestFileChangeSummary.Builder commitId(String commitId)
The ID of the commit where the change is coming from.- Parameters:
commitId
- the value to set- Returns:
- this builder
-
oldPath
public PullRequestFileChangeSummary.Builder oldPath(String oldPath)
The path on the target to the changed object.- Parameters:
oldPath
- the value to set- Returns:
- this builder
-
newPath
public PullRequestFileChangeSummary.Builder newPath(String newPath)
The path on the source to the changed object.- Parameters:
newPath
- the value to set- Returns:
- this builder
-
oldId
public PullRequestFileChangeSummary.Builder oldId(String oldId)
The ID of the changed object on the target.- Parameters:
oldId
- the value to set- Returns:
- this builder
-
newId
public PullRequestFileChangeSummary.Builder newId(String newId)
The ID of the changed object on the source.- Parameters:
newId
- the value to set- Returns:
- this builder
-
addedLinesCount
public PullRequestFileChangeSummary.Builder addedLinesCount(Integer addedLinesCount)
The number of lines added in whole difference.- Parameters:
addedLinesCount
- the value to set- Returns:
- this builder
-
deletedLinesCount
public PullRequestFileChangeSummary.Builder deletedLinesCount(Integer deletedLinesCount)
The number of lines deleted in whole difference.- Parameters:
deletedLinesCount
- the value to set- Returns:
- this builder
-
hasConflicts
public PullRequestFileChangeSummary.Builder hasConflicts(Boolean hasConflicts)
Indicates whether the changed file contains conflicts.- Parameters:
hasConflicts
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public PullRequestFileChangeSummary build()
-
copy
public PullRequestFileChangeSummary.Builder copy(PullRequestFileChangeSummary model)
-
-