Class CfnReportPlan.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnReportPlan.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportPlan>
- Enclosing class:
- CfnReportPlan
@Stability(Stable)
public static final class CfnReportPlan.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportPlan>
A fluent builder for
CfnReportPlan
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnReportPlan.Builder
reportDeliveryChannel
(Object reportDeliveryChannel) Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.reportPlanDescription
(String reportPlanDescription) An optional description of the report plan with a maximum 1,024 characters.reportPlanName
(String reportPlanName) The unique name of the report plan.reportPlanTags
(List<? extends Object> reportPlanTags) A list of tags to tag your report plan.reportPlanTags
(IResolvable reportPlanTags) A list of tags to tag your report plan.reportSetting
(Object reportSetting) Identifies the report template for the report.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnReportPlan.Builder
.
-
reportDeliveryChannel
Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.- Parameters:
reportDeliveryChannel
- Contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. This parameter is required.- Returns:
this
-
reportSetting
Identifies the report template for the report. Reports are built using a report template. The report templates are:.RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
If the report template is
RESOURCE_COMPLIANCE_REPORT
orCONTROL_COMPLIANCE_REPORT
, this API resource also describes the report coverage by AWS Regions and frameworks.- Parameters:
reportSetting
- Identifies the report template for the report. Reports are built using a report template. The report templates are:. This parameter is required.- Returns:
this
-
reportPlanDescription
An optional description of the report plan with a maximum 1,024 characters.- Parameters:
reportPlanDescription
- An optional description of the report plan with a maximum 1,024 characters. This parameter is required.- Returns:
this
-
reportPlanName
The unique name of the report plan.This name is between 1 and 256 characters starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
- Parameters:
reportPlanName
- The unique name of the report plan. This parameter is required.- Returns:
this
-
reportPlanTags
A list of tags to tag your report plan.- Parameters:
reportPlanTags
- A list of tags to tag your report plan. This parameter is required.- Returns:
this
-
reportPlanTags
@Stability(Stable) public CfnReportPlan.Builder reportPlanTags(List<? extends Object> reportPlanTags) A list of tags to tag your report plan.- Parameters:
reportPlanTags
- A list of tags to tag your report plan. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReportPlan>
- Returns:
- a newly built instance of
CfnReportPlan
.
-