Package com.oracle.bmc.devops.model
Class DiffLineDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.DiffLineDetails.Builder
-
- Enclosing class:
- DiffLineDetails
public static class DiffLineDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffLineDetails.Builder
baseLine(Integer baseLine)
The number of a line in the base version.DiffLineDetails
build()
DiffLineDetails.Builder
conflictMarker(DiffLineDetails.ConflictMarker conflictMarker)
Indicates whether a line in a conflicted section of the difference is from the base version, the target version, or if its just a marker indicating the beginning, middle, or end of a conflicted section.DiffLineDetails.Builder
copy(DiffLineDetails model)
DiffLineDetails.Builder
lineContent(String lineContent)
The contents of a line.DiffLineDetails.Builder
targetLine(Integer targetLine)
The number of a line in the target version.
-
-
-
Method Detail
-
baseLine
public DiffLineDetails.Builder baseLine(Integer baseLine)
The number of a line in the base version.- Parameters:
baseLine
- the value to set- Returns:
- this builder
-
targetLine
public DiffLineDetails.Builder targetLine(Integer targetLine)
The number of a line in the target version.- Parameters:
targetLine
- the value to set- Returns:
- this builder
-
lineContent
public DiffLineDetails.Builder lineContent(String lineContent)
The contents of a line.- Parameters:
lineContent
- the value to set- Returns:
- this builder
-
conflictMarker
public DiffLineDetails.Builder conflictMarker(DiffLineDetails.ConflictMarker conflictMarker)
Indicates whether a line in a conflicted section of the difference is from the base version, the target version, or if its just a marker indicating the beginning, middle, or end of a conflicted section.- Parameters:
conflictMarker
- the value to set- Returns:
- this builder
-
build
public DiffLineDetails build()
-
copy
public DiffLineDetails.Builder copy(DiffLineDetails model)
-
-