Class CfnChannel.RecordConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnChannel.RecordConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.RecordConfigurationProperty>
- Enclosing interface:
CfnChannel.RecordConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.RecordConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.RecordConfigurationProperty>
A builder for
CfnChannel.RecordConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gsrSchemaArn(String gsrSchemaArn) Sets the value ofCfnChannel.RecordConfigurationProperty.getGsrSchemaArn()recordFormatType(String recordFormatType) Sets the value ofCfnChannel.RecordConfigurationProperty.getRecordFormatType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordFormatType
@Stability(Stable) public CfnChannel.RecordConfigurationProperty.Builder recordFormatType(String recordFormatType) Sets the value ofCfnChannel.RecordConfigurationProperty.getRecordFormatType()- Parameters:
recordFormatType- The format used to interpret records read from the source stream. This parameter is required.- Returns:
this
-
gsrSchemaArn
@Stability(Stable) public CfnChannel.RecordConfigurationProperty.Builder gsrSchemaArn(String gsrSchemaArn) Sets the value ofCfnChannel.RecordConfigurationProperty.getGsrSchemaArn()- Parameters:
gsrSchemaArn- The ARN of the AWS Glue Schema Registry (GSR) schema. Required for the S3 Tables destination, where it is used to create the S3 Table and to validate that the record format matches the table schema. Also used when RecordFormatType is GSR_JSON to interpret records read from the source stream. Vanilla S3 delivery writes records as S3 objects and does not need a schema. The schema must be in the same account and region as the channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.RecordConfigurationProperty>- Returns:
- a new instance of
CfnChannel.RecordConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-