Package com.oracle.bmc.datasafe.model
Class Diffs.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.Diffs.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Diffs.Builder
addedItems(List<String> addedItems)
This array identifies the items that are present in the current assessment, but are missing from the baseline.Diffs.Builder
baseline(Finding baseline)
Diffs
build()
Diffs.Builder
copy(Diffs model)
Diffs.Builder
current(Finding current)
Diffs.Builder
modifiedItems(List<String> modifiedItems)
This array contains the items that are present in both the current assessment and the baseline, but are different in the two assessments.Diffs.Builder
removedItems(List<String> removedItems)
This array identifies the items that are present in the baseline, but are missing from the current assessment.Diffs.Builder
severity(Diffs.Severity severity)
The severity of this diff.
-
-
-
Method Detail
-
current
public Diffs.Builder current(Finding current)
-
baseline
public Diffs.Builder baseline(Finding baseline)
-
removedItems
public Diffs.Builder removedItems(List<String> removedItems)
This array identifies the items that are present in the baseline, but are missing from the current assessment.- Parameters:
removedItems
- the value to set- Returns:
- this builder
-
addedItems
public Diffs.Builder addedItems(List<String> addedItems)
This array identifies the items that are present in the current assessment, but are missing from the baseline.- Parameters:
addedItems
- the value to set- Returns:
- this builder
-
modifiedItems
public Diffs.Builder modifiedItems(List<String> modifiedItems)
This array contains the items that are present in both the current assessment and the baseline, but are different in the two assessments.- Parameters:
modifiedItems
- the value to set- Returns:
- this builder
-
severity
public Diffs.Builder severity(Diffs.Severity severity)
The severity of this diff.- Parameters:
severity
- the value to set- Returns:
- this builder
-
build
public Diffs build()
-
copy
public Diffs.Builder copy(Diffs model)
-
-