Class CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty
CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getCatalogId()databaseName(String databaseName) Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getRegion()Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getRoleArn()Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getRoleArn()Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getTableName()Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getVersionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.Builder catalogId(String catalogId) Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getCatalogId()- Parameters:
catalogId- The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.- Returns:
this
-
databaseName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.Builder databaseName(String databaseName) - Parameters:
databaseName- Specifies the name of the AWS Glue database that contains the schema for the output data.If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theDatabaseNameproperty is required and its value must be specified.- Returns:
this
-
region
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.Builder region(String region) Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getRegion()- Parameters:
region- If you don't specify an AWS Region, the default is the current Region.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getRoleArn()- Parameters:
roleArn- The role that Firehose can use to access AWS Glue. This role must be in the same account you use for Firehose. Cross-account roles aren't allowed.If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theRoleARNproperty is required and its value must be specified.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.Builder roleArn(IRoleRef roleArn) Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getRoleArn()- Parameters:
roleArn- The role that Firehose can use to access AWS Glue. This role must be in the same account you use for Firehose. Cross-account roles aren't allowed.If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theRoleARNproperty is required and its value must be specified.- Returns:
this
-
tableName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.Builder tableName(String tableName) Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getTableName()- Parameters:
tableName- Specifies the AWS Glue table that contains the column information that constitutes your data schema.If the
SchemaConfigurationrequest parameter is used as part of invoking theCreateDeliveryStreamAPI, then theTableNameproperty is required and its value must be specified.- Returns:
this
-
versionId
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.Builder versionId(String versionId) Sets the value ofCfnDeliveryStreamPropsMixin.SchemaConfigurationProperty.getVersionId()- Parameters:
versionId- Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it toLATEST, Firehose uses the most recent version. This means that any updates to the table are automatically picked up.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-