Interface SchemaConfiguration.Builder

    • Method Detail

      • roleARN

        SchemaConfiguration.Builder roleARN​(String roleARN)

        The role that Firehose can use to access Amazon Web Services Glue. This role must be in the same account you use for Firehose. Cross-account roles aren't allowed.

        If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the RoleARN property is required and its value must be specified.

        Parameters:
        roleARN - The role that Firehose can use to access Amazon Web Services Glue. This role must be in the same account you use for Firehose. Cross-account roles aren't allowed.

        If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the RoleARN property is required and its value must be specified.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • catalogId

        SchemaConfiguration.Builder catalogId​(String catalogId)

        The ID of the Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services account ID is used by default.

        Parameters:
        catalogId - The ID of the Amazon Web Services Glue Data Catalog. If you don't supply this, the Amazon Web Services account ID is used by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • databaseName

        SchemaConfiguration.Builder databaseName​(String databaseName)

        Specifies the name of the Amazon Web Services Glue database that contains the schema for the output data.

        If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the DatabaseName property is required and its value must be specified.

        Parameters:
        databaseName - Specifies the name of the Amazon Web Services Glue database that contains the schema for the output data.

        If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the DatabaseName property is required and its value must be specified.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tableName

        SchemaConfiguration.Builder tableName​(String tableName)

        Specifies the Amazon Web Services Glue table that contains the column information that constitutes your data schema.

        If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the TableName property is required and its value must be specified.

        Parameters:
        tableName - Specifies the Amazon Web Services Glue table that contains the column information that constitutes your data schema.

        If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the TableName property is required and its value must be specified.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        SchemaConfiguration.Builder region​(String region)

        If you don't specify an Amazon Web Services Region, the default is the current Region.

        Parameters:
        region - If you don't specify an Amazon Web Services Region, the default is the current Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionId

        SchemaConfiguration.Builder versionId​(String versionId)

        Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to LATEST, Firehose uses the most recent version. This means that any updates to the table are automatically picked up.

        Parameters:
        versionId - Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to LATEST, Firehose uses the most recent version. This means that any updates to the table are automatically picked up.
        Returns:
        Returns a reference to this object so that method calls can be chained together.