Class CfnCapacityManagerDataExportProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnCapacityManagerDataExportProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityManagerDataExportProps>
- Enclosing interface:
CfnCapacityManagerDataExportProps
@Stability(Stable)
public static final class CfnCapacityManagerDataExportProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityManagerDataExportProps>
A builder for
CfnCapacityManagerDataExportProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.outputFormat(String outputFormat) Sets the value ofCfnCapacityManagerDataExportProps.getOutputFormat()s3BucketName(String s3BucketName) Sets the value ofCfnCapacityManagerDataExportProps.getS3BucketName()s3BucketPrefix(String s3BucketPrefix) Sets the value ofCfnCapacityManagerDataExportProps.getS3BucketPrefix()Sets the value ofCfnCapacityManagerDataExportProps.getSchedule()Sets the value ofCfnCapacityManagerDataExportProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
outputFormat
@Stability(Stable) public CfnCapacityManagerDataExportProps.Builder outputFormat(String outputFormat) Sets the value ofCfnCapacityManagerDataExportProps.getOutputFormat()- Parameters:
outputFormat- The file format of the exported data. This parameter is required.- Returns:
this
-
s3BucketName
@Stability(Stable) public CfnCapacityManagerDataExportProps.Builder s3BucketName(String s3BucketName) Sets the value ofCfnCapacityManagerDataExportProps.getS3BucketName()- Parameters:
s3BucketName- The name of the S3 bucket where export files are delivered. This parameter is required.- Returns:
this
-
schedule
Sets the value ofCfnCapacityManagerDataExportProps.getSchedule()- Parameters:
schedule- The frequency at which data exports are generated. This parameter is required.- Returns:
this
-
s3BucketPrefix
@Stability(Stable) public CfnCapacityManagerDataExportProps.Builder s3BucketPrefix(String s3BucketPrefix) Sets the value ofCfnCapacityManagerDataExportProps.getS3BucketPrefix()- Parameters:
s3BucketPrefix- The S3 key prefix used for organizing export files within the bucket.- Returns:
this
-
tags
@Stability(Stable) public CfnCapacityManagerDataExportProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnCapacityManagerDataExportProps.getTags()- Parameters:
tags- The tags associated with the data export configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapacityManagerDataExportProps>- Returns:
- a new instance of
CfnCapacityManagerDataExportProps - Throws:
NullPointerException- if any required attribute was not provided
-