Class CfnReportPlanPropsMixin.ReportDeliveryChannelProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnReportPlanPropsMixin.ReportDeliveryChannelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportPlanPropsMixin.ReportDeliveryChannelProperty>
- Enclosing interface:
CfnReportPlanPropsMixin.ReportDeliveryChannelProperty
@Stability(Stable)
public static final class CfnReportPlanPropsMixin.ReportDeliveryChannelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportPlanPropsMixin.ReportDeliveryChannelProperty>
A builder for
CfnReportPlanPropsMixin.ReportDeliveryChannelProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnReportPlanPropsMixin.ReportDeliveryChannelProperty.getFormats()s3BucketName(String s3BucketName) Sets the value ofCfnReportPlanPropsMixin.ReportDeliveryChannelProperty.getS3BucketName()s3KeyPrefix(String s3KeyPrefix) Sets the value ofCfnReportPlanPropsMixin.ReportDeliveryChannelProperty.getS3KeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
formats
@Stability(Stable) public CfnReportPlanPropsMixin.ReportDeliveryChannelProperty.Builder formats(List<String> formats) Sets the value ofCfnReportPlanPropsMixin.ReportDeliveryChannelProperty.getFormats()- Parameters:
formats- The format of your reports:CSV,JSON, or both. If not specified, the default format isCSV.- Returns:
this
-
s3BucketName
@Stability(Stable) public CfnReportPlanPropsMixin.ReportDeliveryChannelProperty.Builder s3BucketName(String s3BucketName) Sets the value ofCfnReportPlanPropsMixin.ReportDeliveryChannelProperty.getS3BucketName()- Parameters:
s3BucketName- The unique name of the S3 bucket that receives your reports.- Returns:
this
-
s3KeyPrefix
@Stability(Stable) public CfnReportPlanPropsMixin.ReportDeliveryChannelProperty.Builder s3KeyPrefix(String s3KeyPrefix) Sets the value ofCfnReportPlanPropsMixin.ReportDeliveryChannelProperty.getS3KeyPrefix()- Parameters:
s3KeyPrefix- The prefix for where AWS Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReportPlanPropsMixin.ReportDeliveryChannelProperty>- Returns:
- a new instance of
CfnReportPlanPropsMixin.ReportDeliveryChannelProperty - Throws:
NullPointerException- if any required attribute was not provided
-