Class CfnResourceDataSyncMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssm.CfnResourceDataSyncMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDataSyncMixinProps>
- Enclosing interface:
CfnResourceDataSyncMixinProps
@Stability(Stable)
public static final class CfnResourceDataSyncMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDataSyncMixinProps>
A builder for
CfnResourceDataSyncMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnResourceDataSyncMixinProps.getBucketName()bucketName(IBucketRef bucketName) Sets the value ofCfnResourceDataSyncMixinProps.getBucketName()bucketPrefix(String bucketPrefix) Sets the value ofCfnResourceDataSyncMixinProps.getBucketPrefix()bucketRegion(String bucketRegion) Sets the value ofCfnResourceDataSyncMixinProps.getBucketRegion()build()Builds the configured instance.Sets the value ofCfnResourceDataSyncMixinProps.getKmsKeyArn()s3Destination(CfnResourceDataSyncPropsMixin.S3DestinationProperty s3Destination) Sets the value ofCfnResourceDataSyncMixinProps.getS3Destination()s3Destination(IResolvable s3Destination) Sets the value ofCfnResourceDataSyncMixinProps.getS3Destination()syncFormat(String syncFormat) Sets the value ofCfnResourceDataSyncMixinProps.getSyncFormat()Sets the value ofCfnResourceDataSyncMixinProps.getSyncName()Sets the value ofCfnResourceDataSyncMixinProps.getSyncSource()syncSource(IResolvable syncSource) Sets the value ofCfnResourceDataSyncMixinProps.getSyncSource()Sets the value ofCfnResourceDataSyncMixinProps.getSyncType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
Sets the value ofCfnResourceDataSyncMixinProps.getBucketName()- Parameters:
bucketName- The name of the S3 bucket where the aggregated data is stored.- Returns:
this
-
bucketName
Sets the value ofCfnResourceDataSyncMixinProps.getBucketName()- Parameters:
bucketName- The name of the S3 bucket where the aggregated data is stored.- Returns:
this
-
bucketPrefix
Sets the value ofCfnResourceDataSyncMixinProps.getBucketPrefix()- Parameters:
bucketPrefix- An Amazon S3 prefix for the bucket.- Returns:
this
-
bucketRegion
Sets the value ofCfnResourceDataSyncMixinProps.getBucketRegion()- Parameters:
bucketRegion- The AWS Region with the S3 bucket targeted by the resource data sync.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnResourceDataSyncMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of an encryption key for a destination in Amazon S3 . You can use a KMS key to encrypt inventory data in Amazon S3 . You must specify a key that exist in the same AWS Region as the destination Amazon S3 bucket.- Returns:
this
-
s3Destination
@Stability(Stable) public CfnResourceDataSyncMixinProps.Builder s3Destination(IResolvable s3Destination) Sets the value ofCfnResourceDataSyncMixinProps.getS3Destination()- Parameters:
s3Destination- Configuration information for the target S3 bucket.- Returns:
this
-
s3Destination
@Stability(Stable) public CfnResourceDataSyncMixinProps.Builder s3Destination(CfnResourceDataSyncPropsMixin.S3DestinationProperty s3Destination) Sets the value ofCfnResourceDataSyncMixinProps.getS3Destination()- Parameters:
s3Destination- Configuration information for the target S3 bucket.- Returns:
this
-
syncFormat
Sets the value ofCfnResourceDataSyncMixinProps.getSyncFormat()- Parameters:
syncFormat- A supported sync format. The following format is currently supported: JsonSerDe- Returns:
this
-
syncName
Sets the value ofCfnResourceDataSyncMixinProps.getSyncName()- Parameters:
syncName- A name for the resource data sync.- Returns:
this
-
syncSource
Sets the value ofCfnResourceDataSyncMixinProps.getSyncSource()- Parameters:
syncSource- Information about the source where the data was synchronized.- Returns:
this
-
syncSource
@Stability(Stable) public CfnResourceDataSyncMixinProps.Builder syncSource(CfnResourceDataSyncPropsMixin.SyncSourceProperty syncSource) Sets the value ofCfnResourceDataSyncMixinProps.getSyncSource()- Parameters:
syncSource- Information about the source where the data was synchronized.- Returns:
this
-
syncType
Sets the value ofCfnResourceDataSyncMixinProps.getSyncType()- Parameters:
syncType- The type of resource data sync. IfSyncTypeisSyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If theSyncTypeisSyncFromSourcethen the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDataSyncMixinProps>- Returns:
- a new instance of
CfnResourceDataSyncMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-