Class CfnFlow.S3DestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.S3DestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.S3DestinationPropertiesProperty>
- Enclosing interface:
CfnFlow.S3DestinationPropertiesProperty
@Stability(Stable)
public static final class CfnFlow.S3DestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.S3DestinationPropertiesProperty>
A builder for
CfnFlow.S3DestinationPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) Sets the value ofCfnFlow.S3DestinationPropertiesProperty.getBucketName()
bucketPrefix
(String bucketPrefix) Sets the value ofCfnFlow.S3DestinationPropertiesProperty.getBucketPrefix()
build()
Builds the configured instance.s3OutputFormatConfig
(IResolvable s3OutputFormatConfig) Sets the value ofCfnFlow.S3DestinationPropertiesProperty.getS3OutputFormatConfig()
s3OutputFormatConfig
(CfnFlow.S3OutputFormatConfigProperty s3OutputFormatConfig) Sets the value ofCfnFlow.S3DestinationPropertiesProperty.getS3OutputFormatConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnFlow.S3DestinationPropertiesProperty.Builder bucketName(String bucketName) Sets the value ofCfnFlow.S3DestinationPropertiesProperty.getBucketName()
- Parameters:
bucketName
- The Amazon S3 bucket name in which Amazon AppFlow places the transferred data. This parameter is required.- Returns:
this
-
bucketPrefix
@Stability(Stable) public CfnFlow.S3DestinationPropertiesProperty.Builder bucketPrefix(String bucketPrefix) Sets the value ofCfnFlow.S3DestinationPropertiesProperty.getBucketPrefix()
- Parameters:
bucketPrefix
- The object key for the destination bucket in which Amazon AppFlow places the files.- Returns:
this
-
s3OutputFormatConfig
@Stability(Stable) public CfnFlow.S3DestinationPropertiesProperty.Builder s3OutputFormatConfig(IResolvable s3OutputFormatConfig) Sets the value ofCfnFlow.S3DestinationPropertiesProperty.getS3OutputFormatConfig()
- Parameters:
s3OutputFormatConfig
- The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.- Returns:
this
-
s3OutputFormatConfig
@Stability(Stable) public CfnFlow.S3DestinationPropertiesProperty.Builder s3OutputFormatConfig(CfnFlow.S3OutputFormatConfigProperty s3OutputFormatConfig) Sets the value ofCfnFlow.S3DestinationPropertiesProperty.getS3OutputFormatConfig()
- Parameters:
s3OutputFormatConfig
- The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.S3DestinationPropertiesProperty>
- Returns:
- a new instance of
CfnFlow.S3DestinationPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-