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.BuilderaddedLinesCount(Integer addedLinesCount)The number of lines added in whole difference.PullRequestFileChangeSummarybuild()PullRequestFileChangeSummary.BuilderchangeType(String changeType)Type of change made to file.PullRequestFileChangeSummary.BuildercommitId(String commitId)The ID of the commit where the change is coming from.PullRequestFileChangeSummary.Buildercopy(PullRequestFileChangeSummary model)PullRequestFileChangeSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PullRequestFileChangeSummary.BuilderdeletedLinesCount(Integer deletedLinesCount)The number of lines deleted in whole difference.PullRequestFileChangeSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.PullRequestFileChangeSummary.BuilderhasConflicts(Boolean hasConflicts)Indicates whether the changed file contains conflicts.PullRequestFileChangeSummary.BuildernewId(String newId)The ID of the changed object on the source.PullRequestFileChangeSummary.BuildernewPath(String newPath)The path on the source to the changed object.PullRequestFileChangeSummary.BuilderobjectType(String objectType)The type of the changed object.PullRequestFileChangeSummary.BuilderoldId(String oldId)The ID of the changed object on the target.PullRequestFileChangeSummary.BuilderoldPath(String oldPath)The path on the target to the changed object.PullRequestFileChangeSummary.BuildersystemTags(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)
-
-