Package com.oracle.bmc.datasafe.model
Class DownloadSecurityAssessmentReportDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.DownloadSecurityAssessmentReportDetails.Builder
-
- Enclosing class:
- DownloadSecurityAssessmentReportDetails
public static class DownloadSecurityAssessmentReportDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DownloadSecurityAssessmentReportDetailsbuild()DownloadSecurityAssessmentReportDetails.Buildercopy(DownloadSecurityAssessmentReportDetails model)DownloadSecurityAssessmentReportDetails.Builderformat(DownloadSecurityAssessmentReportDetails.Format format)Format of the Security Assessment report.DownloadSecurityAssessmentReportDetails.BuilderisSingleReport(Boolean isSingleReport)Optional flag controlling the output format of a target group report: - true: Return a single consolidated report file for the entire target group.
-
-
-
Method Detail
-
format
public DownloadSecurityAssessmentReportDetails.Builder format(DownloadSecurityAssessmentReportDetails.Format format)
Format of the Security Assessment report.- Parameters:
format- the value to set- Returns:
- this builder
-
isSingleReport
public DownloadSecurityAssessmentReportDetails.Builder isSingleReport(Boolean isSingleReport)
Optional flag controlling the output format of a target group report: - true: Return a single consolidated report file for the entire target group.- false/null (default): Return 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 returned.
- Parameters:
isSingleReport- the value to set- Returns:
- this builder
-
build
public DownloadSecurityAssessmentReportDetails build()
-
copy
public DownloadSecurityAssessmentReportDetails.Builder copy(DownloadSecurityAssessmentReportDetails model)
-
-