Class CfnReportPlan.ReportDeliveryChannelProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnReportPlan.ReportDeliveryChannelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportPlan.ReportDeliveryChannelProperty>
- Enclosing interface:
- CfnReportPlan.ReportDeliveryChannelProperty
@Stability(Stable)
public static final class CfnReportPlan.ReportDeliveryChannelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportPlan.ReportDeliveryChannelProperty>
A builder for
CfnReportPlan.ReportDeliveryChannelProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnReportPlan.ReportDeliveryChannelProperty.getFormats()s3BucketName(String s3BucketName) Sets the value ofCfnReportPlan.ReportDeliveryChannelProperty.getS3BucketName()s3KeyPrefix(String s3KeyPrefix) Sets the value ofCfnReportPlan.ReportDeliveryChannelProperty.getS3KeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3BucketName
@Stability(Stable) public CfnReportPlan.ReportDeliveryChannelProperty.Builder s3BucketName(String s3BucketName) Sets the value ofCfnReportPlan.ReportDeliveryChannelProperty.getS3BucketName()- Parameters:
s3BucketName- The unique name of the S3 bucket that receives your reports. This parameter is required.- Returns:
this
-
formats
@Stability(Stable) public CfnReportPlan.ReportDeliveryChannelProperty.Builder formats(List<String> formats) Sets the value ofCfnReportPlan.ReportDeliveryChannelProperty.getFormats()- Parameters:
formats- A list of the format of your reports:CSV,JSON, or both. If not specified, the default format isCSV.- Returns:
this
-
s3KeyPrefix
@Stability(Stable) public CfnReportPlan.ReportDeliveryChannelProperty.Builder s3KeyPrefix(String s3KeyPrefix) Sets the value ofCfnReportPlan.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<CfnReportPlan.ReportDeliveryChannelProperty>- Returns:
- a new instance of
CfnReportPlan.ReportDeliveryChannelProperty - Throws:
NullPointerException- if any required attribute was not provided
-