Class CfnResourceDataSyncPropsMixin.S3DestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssm.CfnResourceDataSyncPropsMixin.S3DestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.S3DestinationProperty>
- Enclosing interface:
CfnResourceDataSyncPropsMixin.S3DestinationProperty
@Stability(Stable)
public static final class CfnResourceDataSyncPropsMixin.S3DestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.S3DestinationProperty>
A builder for
CfnResourceDataSyncPropsMixin.S3DestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getBucketName()bucketPrefix(String bucketPrefix) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getBucketPrefix()bucketRegion(String bucketRegion) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getBucketRegion()build()Builds the configured instance.Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getKmsKeyArn()syncFormat(String syncFormat) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getSyncFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnResourceDataSyncPropsMixin.S3DestinationProperty.Builder bucketName(String bucketName) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getBucketName()- Parameters:
bucketName- The name of the S3 bucket where the aggregated data is stored.- Returns:
this
-
bucketPrefix
@Stability(Stable) public CfnResourceDataSyncPropsMixin.S3DestinationProperty.Builder bucketPrefix(String bucketPrefix) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getBucketPrefix()- Parameters:
bucketPrefix- An Amazon S3 prefix for the bucket.- Returns:
this
-
bucketRegion
@Stability(Stable) public CfnResourceDataSyncPropsMixin.S3DestinationProperty.Builder bucketRegion(String bucketRegion) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getBucketRegion()- Parameters:
bucketRegion- The AWS Region with the S3 bucket targeted by the resource data sync.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnResourceDataSyncPropsMixin.S3DestinationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.- Returns:
this
-
syncFormat
@Stability(Stable) public CfnResourceDataSyncPropsMixin.S3DestinationProperty.Builder syncFormat(String syncFormat) Sets the value ofCfnResourceDataSyncPropsMixin.S3DestinationProperty.getSyncFormat()- Parameters:
syncFormat- A supported sync format. The following format is currently supported: JsonSerDe- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDataSyncPropsMixin.S3DestinationProperty>- Returns:
- a new instance of
CfnResourceDataSyncPropsMixin.S3DestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-