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
category(String category)
The category of the top finding.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
references(References references)
Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.FindingAnalyticsDimensions.Builder
remarks(String remarks)
The explanation of the issue in this finding.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
-
category
public FindingAnalyticsDimensions.Builder category(String category)
The category of the top finding.- Parameters:
category
- 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
-
remarks
public FindingAnalyticsDimensions.Builder remarks(String remarks)
The explanation of the issue in this finding.It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
- Parameters:
remarks
- 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
-
references
public FindingAnalyticsDimensions.Builder references(References references)
Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.- Parameters:
references
- the value to set- Returns:
- this builder
-
build
public FindingAnalyticsDimensions build()
-
copy
public FindingAnalyticsDimensions.Builder copy(FindingAnalyticsDimensions model)
-
-