Class CfnChannelPropsMixin.RecordConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesis.CfnChannelPropsMixin.RecordConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.RecordConfigurationProperty>
- Enclosing interface:
CfnChannelPropsMixin.RecordConfigurationProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.RecordConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.RecordConfigurationProperty>
A builder for
CfnChannelPropsMixin.RecordConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gsrSchemaArn(String gsrSchemaArn) Sets the value ofCfnChannelPropsMixin.RecordConfigurationProperty.getGsrSchemaArn()recordFormatType(String recordFormatType) Sets the value ofCfnChannelPropsMixin.RecordConfigurationProperty.getRecordFormatType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gsrSchemaArn
@Stability(Stable) public CfnChannelPropsMixin.RecordConfigurationProperty.Builder gsrSchemaArn(String gsrSchemaArn) Sets the value ofCfnChannelPropsMixin.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
-
recordFormatType
@Stability(Stable) public CfnChannelPropsMixin.RecordConfigurationProperty.Builder recordFormatType(String recordFormatType) Sets the value ofCfnChannelPropsMixin.RecordConfigurationProperty.getRecordFormatType()- Parameters:
recordFormatType- The format used to interpret records read from the source stream.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.RecordConfigurationProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.RecordConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-