Package com.oracle.bmc.datasafe.model
Class GenerateSecurityAssessmentReportDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.GenerateSecurityAssessmentReportDetails.Builder
-
- Enclosing class:
- GenerateSecurityAssessmentReportDetails
public static class GenerateSecurityAssessmentReportDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateSecurityAssessmentReportDetailsbuild()GenerateSecurityAssessmentReportDetails.Buildercopy(GenerateSecurityAssessmentReportDetails model)GenerateSecurityAssessmentReportDetails.Builderformat(GenerateSecurityAssessmentReportDetails.Format format)Format of the Security Assessment report.GenerateSecurityAssessmentReportDetails.BuilderisSingleReport(Boolean isSingleReport)Optional flag controlling the output format of a target group report: - true: Generate a single consolidated report file for the entire target group.
-
-
-
Method Detail
-
format
public GenerateSecurityAssessmentReportDetails.Builder format(GenerateSecurityAssessmentReportDetails.Format format)
Format of the Security Assessment report.- Parameters:
format- the value to set- Returns:
- this builder
-
isSingleReport
public GenerateSecurityAssessmentReportDetails.Builder isSingleReport(Boolean isSingleReport)
Optional flag controlling the output format of a target group report: - true: Generate a single consolidated report file for the entire target group.- false: Generate a ZIP archive containing one file per target in the group.
Important: - This flag is only applicable when the security assessment OCID refers to a target group assessment (targetType TARGET_DATABASE_GROUP). - If isSingleReport is set to true for an individual target (targetType TARGET_DATABASE), the request will return an error. - If isSingleReport is null or false for an individual target, the value is ignored and the selected output format for the assessment type is generated.
- Parameters:
isSingleReport- the value to set- Returns:
- this builder
-
build
public GenerateSecurityAssessmentReportDetails build()
-
copy
public GenerateSecurityAssessmentReportDetails.Builder copy(GenerateSecurityAssessmentReportDetails model)
-
-