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.BuilderaddedItems(List<String> addedItems)This array identifies the items that are present in the current assessment, but are missing from the baseline.Diffs.Builderbaseline(Finding baseline)Diffsbuild()Diffs.Buildercopy(Diffs model)Diffs.Buildercurrent(Finding current)Diffs.BuildermodifiedItems(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.BuilderremovedItems(List<String> removedItems)This array identifies the items that are present in the baseline, but are missing from the current assessment.Diffs.Builderseverity(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)
-
-