Class CfnReportPlan.ReportSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnReportPlan.ReportSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportPlan.ReportSettingProperty>
- Enclosing interface:
- CfnReportPlan.ReportSettingProperty
@Stability(Stable)
public static final class CfnReportPlan.ReportSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportPlan.ReportSettingProperty>
A builder for
CfnReportPlan.ReportSettingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnReportPlan.ReportSettingProperty.getAccounts()
build()
Builds the configured instance.frameworkArns
(List<String> frameworkArns) Sets the value ofCfnReportPlan.ReportSettingProperty.getFrameworkArns()
organizationUnits
(List<String> organizationUnits) Sets the value ofCfnReportPlan.ReportSettingProperty.getOrganizationUnits()
Sets the value ofCfnReportPlan.ReportSettingProperty.getRegions()
reportTemplate
(String reportTemplate) Sets the value ofCfnReportPlan.ReportSettingProperty.getReportTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reportTemplate
@Stability(Stable) public CfnReportPlan.ReportSettingProperty.Builder reportTemplate(String reportTemplate) Sets the value ofCfnReportPlan.ReportSettingProperty.getReportTemplate()
- Parameters:
reportTemplate
- Identifies the report template for the report. Reports are built using a report template. The report templates are:. This parameter is required.RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
- Returns:
this
-
accounts
@Stability(Stable) public CfnReportPlan.ReportSettingProperty.Builder accounts(List<String> accounts) Sets the value ofCfnReportPlan.ReportSettingProperty.getAccounts()
- Parameters:
accounts
- These are the accounts to be included in the report.- Returns:
this
-
frameworkArns
@Stability(Stable) public CfnReportPlan.ReportSettingProperty.Builder frameworkArns(List<String> frameworkArns) Sets the value ofCfnReportPlan.ReportSettingProperty.getFrameworkArns()
- Parameters:
frameworkArns
- The Amazon Resource Names (ARNs) of the frameworks a report covers.- Returns:
this
-
organizationUnits
@Stability(Stable) public CfnReportPlan.ReportSettingProperty.Builder organizationUnits(List<String> organizationUnits) Sets the value ofCfnReportPlan.ReportSettingProperty.getOrganizationUnits()
- Parameters:
organizationUnits
- These are the Organizational Units to be included in the report.- Returns:
this
-
regions
Sets the value ofCfnReportPlan.ReportSettingProperty.getRegions()
- Parameters:
regions
- These are the Regions to be included in the report.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReportPlan.ReportSettingProperty>
- Returns:
- a new instance of
CfnReportPlan.ReportSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-