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