Class CfnTable.ImportSourceSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnTable.ImportSourceSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.ImportSourceSpecificationProperty>
- Enclosing interface:
- CfnTable.ImportSourceSpecificationProperty
@Stability(Stable)
public static final class CfnTable.ImportSourceSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.ImportSourceSpecificationProperty>
A builder for
CfnTable.ImportSourceSpecificationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.inputCompressionType
(String inputCompressionType) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getInputCompressionType()
inputFormat
(String inputFormat) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getInputFormat()
inputFormatOptions
(IResolvable inputFormatOptions) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getInputFormatOptions()
inputFormatOptions
(CfnTable.InputFormatOptionsProperty inputFormatOptions) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getInputFormatOptions()
s3BucketSource
(IResolvable s3BucketSource) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getS3BucketSource()
s3BucketSource
(CfnTable.S3BucketSourceProperty s3BucketSource) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getS3BucketSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputFormat
@Stability(Stable) public CfnTable.ImportSourceSpecificationProperty.Builder inputFormat(String inputFormat) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getInputFormat()
- Parameters:
inputFormat
- The format of the source data. This parameter is required. Valid values forImportFormat
areCSV
,DYNAMODB_JSON
orION
.- Returns:
this
-
s3BucketSource
@Stability(Stable) public CfnTable.ImportSourceSpecificationProperty.Builder s3BucketSource(IResolvable s3BucketSource) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getS3BucketSource()
- Parameters:
s3BucketSource
- The S3 bucket that provides the source for the import. This parameter is required.- Returns:
this
-
s3BucketSource
@Stability(Stable) public CfnTable.ImportSourceSpecificationProperty.Builder s3BucketSource(CfnTable.S3BucketSourceProperty s3BucketSource) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getS3BucketSource()
- Parameters:
s3BucketSource
- The S3 bucket that provides the source for the import. This parameter is required.- Returns:
this
-
inputCompressionType
@Stability(Stable) public CfnTable.ImportSourceSpecificationProperty.Builder inputCompressionType(String inputCompressionType) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getInputCompressionType()
- Parameters:
inputCompressionType
- Type of compression to be used on the input coming from the imported table.- Returns:
this
-
inputFormatOptions
@Stability(Stable) public CfnTable.ImportSourceSpecificationProperty.Builder inputFormatOptions(IResolvable inputFormatOptions) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getInputFormatOptions()
- Parameters:
inputFormatOptions
- Additional properties that specify how the input is formatted,.- Returns:
this
-
inputFormatOptions
@Stability(Stable) public CfnTable.ImportSourceSpecificationProperty.Builder inputFormatOptions(CfnTable.InputFormatOptionsProperty inputFormatOptions) Sets the value ofCfnTable.ImportSourceSpecificationProperty.getInputFormatOptions()
- Parameters:
inputFormatOptions
- Additional properties that specify how the input is formatted,.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTable.ImportSourceSpecificationProperty>
- Returns:
- a new instance of
CfnTable.ImportSourceSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-