Package com.oracle.bmc.devops.model
Class FileDiffResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.FileDiffResponse.Builder
-
- Enclosing class:
- FileDiffResponse
public static class FileDiffResponse.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileDiffResponse.BuilderareConflictsInFile(Boolean areConflictsInFile)Indicates whether the changed file contains conflicts.FileDiffResponsebuild()FileDiffResponse.Builderchanges(List<DiffChunk> changes)List of changed section in the file.FileDiffResponse.Buildercopy(FileDiffResponse model)FileDiffResponse.BuilderisBinary(Boolean isBinary)Indicates whether the file is binary.FileDiffResponse.BuilderisLarge(Boolean isLarge)Indicates whether the file is large.FileDiffResponse.BuildernewId(String newId)The ID of the changed object on the target version.FileDiffResponse.BuildernewPath(String newPath)The path on the target version to the changed object.FileDiffResponse.BuilderoldId(String oldId)The ID of the changed object on the base version.FileDiffResponse.BuilderoldPath(String oldPath)The path on the base version to the changed object.
-
-
-
Method Detail
-
oldPath
public FileDiffResponse.Builder oldPath(String oldPath)
The path on the base version to the changed object.- Parameters:
oldPath- the value to set- Returns:
- this builder
-
newPath
public FileDiffResponse.Builder newPath(String newPath)
The path on the target version to the changed object.- Parameters:
newPath- the value to set- Returns:
- this builder
-
oldId
public FileDiffResponse.Builder oldId(String oldId)
The ID of the changed object on the base version.- Parameters:
oldId- the value to set- Returns:
- this builder
-
newId
public FileDiffResponse.Builder newId(String newId)
The ID of the changed object on the target version.- Parameters:
newId- the value to set- Returns:
- this builder
-
areConflictsInFile
public FileDiffResponse.Builder areConflictsInFile(Boolean areConflictsInFile)
Indicates whether the changed file contains conflicts.- Parameters:
areConflictsInFile- the value to set- Returns:
- this builder
-
isLarge
public FileDiffResponse.Builder isLarge(Boolean isLarge)
Indicates whether the file is large.- Parameters:
isLarge- the value to set- Returns:
- this builder
-
isBinary
public FileDiffResponse.Builder isBinary(Boolean isBinary)
Indicates whether the file is binary.- Parameters:
isBinary- the value to set- Returns:
- this builder
-
changes
public FileDiffResponse.Builder changes(List<DiffChunk> changes)
List of changed section in the file.- Parameters:
changes- the value to set- Returns:
- this builder
-
build
public FileDiffResponse build()
-
copy
public FileDiffResponse.Builder copy(FileDiffResponse model)
-
-