Package com.oracle.bmc.datasafe.model
Class FindingAnalyticsDimensions.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.FindingAnalyticsDimensions.Builder
-
- Enclosing class:
- FindingAnalyticsDimensions
public static class FindingAnalyticsDimensions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FindingAnalyticsDimensions
build()
FindingAnalyticsDimensions.Builder
copy(FindingAnalyticsDimensions model)
FindingAnalyticsDimensions.Builder
key(String key)
Each finding in security assessment has an associated key (think of key as a finding’s name).FindingAnalyticsDimensions.Builder
severity(FindingAnalyticsDimensions.Severity severity)
The severity (risk level) of the finding.FindingAnalyticsDimensions.Builder
targetId(String targetId)
The OCID of the target database.FindingAnalyticsDimensions.Builder
title(String title)
The short title of the finding.FindingAnalyticsDimensions.Builder
topFindingCategory(String topFindingCategory)
The category of the top finding.FindingAnalyticsDimensions.Builder
topFindingStatus(FindingAnalyticsDimensions.TopFindingStatus topFindingStatus)
The status of the top finding.
-
-
-
Method Detail
-
key
public FindingAnalyticsDimensions.Builder key(String key)
Each finding in security assessment has an associated key (think of key as a finding’s name).For a given finding, the key will be the same across targets. The user can use these keys to filter the findings.
- Parameters:
key
- the value to set- Returns:
- this builder
-
topFindingCategory
public FindingAnalyticsDimensions.Builder topFindingCategory(String topFindingCategory)
The category of the top finding.- Parameters:
topFindingCategory
- the value to set- Returns:
- this builder
-
title
public FindingAnalyticsDimensions.Builder title(String title)
The short title of the finding.- Parameters:
title
- the value to set- Returns:
- this builder
-
topFindingStatus
public FindingAnalyticsDimensions.Builder topFindingStatus(FindingAnalyticsDimensions.TopFindingStatus topFindingStatus)
The status of the top finding.All findings will have “severity” to indicate the risk level, but only top findings will have “status”. Possible status: Pass / Risk (Low, Medium, High)/ Evaluate / Advisory / Deferred Instead of having “Low, Medium, High” in severity, “Risk” will include these three situations in status.
- Parameters:
topFindingStatus
- the value to set- Returns:
- this builder
-
severity
public FindingAnalyticsDimensions.Builder severity(FindingAnalyticsDimensions.Severity severity)
The severity (risk level) of the finding.- Parameters:
severity
- the value to set- Returns:
- this builder
-
targetId
public FindingAnalyticsDimensions.Builder targetId(String targetId)
The OCID of the target database.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
build
public FindingAnalyticsDimensions build()
-
copy
public FindingAnalyticsDimensions.Builder copy(FindingAnalyticsDimensions model)
-
-