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