Package com.oracle.bmc.datasafe.model
Class Check.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.Check.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Check
build()
Check.Builder
category(String category)
The category to which the check belongs to.Check.Builder
copy(Check model)
Check.Builder
key(String key)
A unique identifier for the check.Check.Builder
oneline(String oneline)
Provides a recommended approach to take to remediate the check reported.Check.Builder
references(References references)
Provides information on whether the check is related to a CIS Oracle Database Benchmark recommendation, STIG rule, GDPR Article/Recital or related to the Oracle Recommended Practice.Check.Builder
remarks(String remarks)
The explanation of the issue in this check.Check.Builder
suggestedSeverity(Check.SuggestedSeverity suggestedSeverity)
The severity of the check as suggested by Data Safe security assessment.Check.Builder
title(String title)
The short title for the check.
-
-
-
Method Detail
-
key
public Check.Builder key(String key)
A unique identifier for the check.- Parameters:
key
- the value to set- Returns:
- this builder
-
title
public Check.Builder title(String title)
The short title for the check.- Parameters:
title
- the value to set- Returns:
- this builder
-
remarks
public Check.Builder remarks(String remarks)
The explanation of the issue in this check.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
-
references
public Check.Builder references(References references)
Provides information on whether the check is related to a CIS Oracle Database Benchmark recommendation, STIG rule, GDPR Article/Recital or related to the Oracle Recommended Practice.- Parameters:
references
- the value to set- Returns:
- this builder
-
category
public Check.Builder category(String category)
The category to which the check belongs to.- Parameters:
category
- the value to set- Returns:
- this builder
-
oneline
public Check.Builder oneline(String oneline)
Provides a recommended approach to take to remediate the check reported.- Parameters:
oneline
- the value to set- Returns:
- this builder
-
suggestedSeverity
public Check.Builder suggestedSeverity(Check.SuggestedSeverity suggestedSeverity)
The severity of the check as suggested by Data Safe security assessment.This will be the default severity in the template baseline security assessment.
- Parameters:
suggestedSeverity
- the value to set- Returns:
- this builder
-
build
public Check build()
-
copy
public Check.Builder copy(Check model)
-
-