Class CfnDeliveryStream.CopyCommandProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.CopyCommandProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.CopyCommandProperty>
- Enclosing interface:
CfnDeliveryStream.CopyCommandProperty
@Stability(Stable)
public static final class CfnDeliveryStream.CopyCommandProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.CopyCommandProperty>
A builder for
CfnDeliveryStream.CopyCommandProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.copyOptions
(String copyOptions) Sets the value ofCfnDeliveryStream.CopyCommandProperty.getCopyOptions()
dataTableColumns
(String dataTableColumns) Sets the value ofCfnDeliveryStream.CopyCommandProperty.getDataTableColumns()
dataTableName
(String dataTableName) Sets the value ofCfnDeliveryStream.CopyCommandProperty.getDataTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataTableName
@Stability(Stable) public CfnDeliveryStream.CopyCommandProperty.Builder dataTableName(String dataTableName) Sets the value ofCfnDeliveryStream.CopyCommandProperty.getDataTableName()
- Parameters:
dataTableName
- The name of the target table. This parameter is required. The table must already exist in the database.- Returns:
this
-
copyOptions
@Stability(Stable) public CfnDeliveryStream.CopyCommandProperty.Builder copyOptions(String copyOptions) Sets the value ofCfnDeliveryStream.CopyCommandProperty.getCopyOptions()
- Parameters:
copyOptions
- Parameters to use with the Amazon RedshiftCOPY
command. For examples, see theCopyOptions
content for the CopyCommand data type in the Amazon Kinesis Data Firehose API Reference .- Returns:
this
-
dataTableColumns
@Stability(Stable) public CfnDeliveryStream.CopyCommandProperty.Builder dataTableColumns(String dataTableColumns) Sets the value ofCfnDeliveryStream.CopyCommandProperty.getDataTableColumns()
- Parameters:
dataTableColumns
- A comma-separated list of column names.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.CopyCommandProperty>
- Returns:
- a new instance of
CfnDeliveryStream.CopyCommandProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-