Class CfnReportPlanProps.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnReportPlanProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportPlanProps>
- Enclosing interface:
CfnReportPlanProps
@Stability(Stable)
public static final class CfnReportPlanProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportPlanProps>
A builder for
CfnReportPlanProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.reportDeliveryChannel(Object reportDeliveryChannel) Sets the value ofCfnReportPlanProps.getReportDeliveryChannel()reportPlanDescription(String reportPlanDescription) Sets the value ofCfnReportPlanProps.getReportPlanDescription()reportPlanName(String reportPlanName) Sets the value ofCfnReportPlanProps.getReportPlanName()reportPlanTags(List<? extends CfnTag> reportPlanTags) Sets the value ofCfnReportPlanProps.getReportPlanTags()reportSetting(Object reportSetting) Sets the value ofCfnReportPlanProps.getReportSetting()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reportDeliveryChannel
@Stability(Stable) public CfnReportPlanProps.Builder reportDeliveryChannel(Object reportDeliveryChannel) Sets the value ofCfnReportPlanProps.getReportDeliveryChannel()- 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
Sets the value ofCfnReportPlanProps.getReportSetting()- Parameters:
reportSetting- 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_REPORTIf the report template is
RESOURCE_COMPLIANCE_REPORTorCONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by AWS Regions and frameworks.- Returns:
this
-
reportPlanDescription
@Stability(Stable) public CfnReportPlanProps.Builder reportPlanDescription(String reportPlanDescription) Sets the value ofCfnReportPlanProps.getReportPlanDescription()- Parameters:
reportPlanDescription- An optional description of the report plan with a maximum 1,024 characters.- Returns:
this
-
reportPlanName
Sets the value ofCfnReportPlanProps.getReportPlanName()- Parameters:
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 (_).- Returns:
this
-
reportPlanTags
@Stability(Stable) public CfnReportPlanProps.Builder reportPlanTags(List<? extends CfnTag> reportPlanTags) Sets the value ofCfnReportPlanProps.getReportPlanTags()- Parameters:
reportPlanTags- The tags to assign to your report plan.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReportPlanProps>- Returns:
- a new instance of
CfnReportPlanProps - Throws:
NullPointerException- if any required attribute was not provided
-