Interface IcebergDestinationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergDestinationConfiguration.Builder,,IcebergDestinationConfiguration> SdkBuilder<IcebergDestinationConfiguration.Builder,,IcebergDestinationConfiguration> SdkPojo
- Enclosing class:
IcebergDestinationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionappendOnly(Boolean appendOnly) Whether the destination is append-only.catalog(Consumer<Catalog.Builder> catalog) The AWS Glue Data Catalog and S3 Tables warehouse used by the destination.The AWS Glue Data Catalog and S3 Tables warehouse used by the destination.compressionType(String compressionType) The compression codec for Iceberg table data files.compressionType(IcebergCompressionType compressionType) The compression codec for Iceberg table data files.dataFreshnessInSeconds(Integer dataFreshnessInSeconds) The maximum time, in seconds, that records buffer in MSK before being flushed to the destination.deadLetterQueueS3(Consumer<DeadLetterQueueS3.Builder> deadLetterQueueS3) The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.deadLetterQueueS3(DeadLetterQueueS3 deadLetterQueueS3) The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.destinationTableList(Collection<DestinationTable> destinationTableList) The destination Iceberg tables.destinationTableList(Consumer<DestinationTable.Builder>... destinationTableList) The destination Iceberg tables.destinationTableList(DestinationTable... destinationTableList) The destination Iceberg tables.schemaEvolution(Consumer<SchemaEvolution.Builder> schemaEvolution) Configuration controlling whether the destination table's schema is evolved to match incoming records.schemaEvolution(SchemaEvolution schemaEvolution) Configuration controlling whether the destination table's schema is evolved to match incoming records.serviceExecutionRoleArn(String serviceExecutionRoleArn) The Amazon Resource Name (ARN) of the IAM role that MSK assumes to access the destination table, the AWS Glue Data Catalog, and the dead-letter Amazon S3 bucket.tableCreation(Consumer<TableCreation.Builder> tableCreation) Configuration controlling whether MSK creates the destination table if it does not already exist.tableCreation(TableCreation tableCreation) Configuration controlling whether MSK creates the destination table if it does not already exist.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
appendOnly
Whether the destination is append-only. Must be true; updates and deletes are not supported.
- Parameters:
appendOnly- Whether the destination is append-only. Must be true; updates and deletes are not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalog
The AWS Glue Data Catalog and S3 Tables warehouse used by the destination.
- Parameters:
catalog- The AWS Glue Data Catalog and S3 Tables warehouse used by the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalog
The AWS Glue Data Catalog and S3 Tables warehouse used by the destination.
This is a convenience method that creates an instance of theCatalog.Builderavoiding the need to create one manually viaCatalog.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocatalog(Catalog).- Parameters:
catalog- a consumer that will call methods onCatalog.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataFreshnessInSeconds
The maximum time, in seconds, that records buffer in MSK before being flushed to the destination. Allowed range: 300 to 900. Default: 600.
- Parameters:
dataFreshnessInSeconds- The maximum time, in seconds, that records buffer in MSK before being flushed to the destination. Allowed range: 300 to 900. Default: 600.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterQueueS3
The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.
- Parameters:
deadLetterQueueS3- The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterQueueS3
default IcebergDestinationConfiguration.Builder deadLetterQueueS3(Consumer<DeadLetterQueueS3.Builder> deadLetterQueueS3) The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.
This is a convenience method that creates an instance of theDeadLetterQueueS3.Builderavoiding the need to create one manually viaDeadLetterQueueS3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeadLetterQueueS3(DeadLetterQueueS3).- Parameters:
deadLetterQueueS3- a consumer that will call methods onDeadLetterQueueS3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationTableList
IcebergDestinationConfiguration.Builder destinationTableList(Collection<DestinationTable> destinationTableList) The destination Iceberg tables. Currently exactly one table must be specified.
- Parameters:
destinationTableList- The destination Iceberg tables. Currently exactly one table must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTableList
IcebergDestinationConfiguration.Builder destinationTableList(DestinationTable... destinationTableList) The destination Iceberg tables. Currently exactly one table must be specified.
- Parameters:
destinationTableList- The destination Iceberg tables. Currently exactly one table must be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTableList
IcebergDestinationConfiguration.Builder destinationTableList(Consumer<DestinationTable.Builder>... destinationTableList) The destination Iceberg tables. Currently exactly one table must be specified.
This is a convenience method that creates an instance of theDestinationTable.Builderavoiding the need to create one manually viaDestinationTable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationTableList(List<DestinationTable>).- Parameters:
destinationTableList- a consumer that will call methods onDestinationTable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaEvolution
Configuration controlling whether the destination table's schema is evolved to match incoming records.
- Parameters:
schemaEvolution- Configuration controlling whether the destination table's schema is evolved to match incoming records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaEvolution
default IcebergDestinationConfiguration.Builder schemaEvolution(Consumer<SchemaEvolution.Builder> schemaEvolution) Configuration controlling whether the destination table's schema is evolved to match incoming records.
This is a convenience method that creates an instance of theSchemaEvolution.Builderavoiding the need to create one manually viaSchemaEvolution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschemaEvolution(SchemaEvolution).- Parameters:
schemaEvolution- a consumer that will call methods onSchemaEvolution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role that MSK assumes to access the destination table, the AWS Glue Data Catalog, and the dead-letter Amazon S3 bucket.
- Parameters:
serviceExecutionRoleArn- The Amazon Resource Name (ARN) of the IAM role that MSK assumes to access the destination table, the AWS Glue Data Catalog, and the dead-letter Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableCreation
Configuration controlling whether MSK creates the destination table if it does not already exist.
- Parameters:
tableCreation- Configuration controlling whether MSK creates the destination table if it does not already exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableCreation
default IcebergDestinationConfiguration.Builder tableCreation(Consumer<TableCreation.Builder> tableCreation) Configuration controlling whether MSK creates the destination table if it does not already exist.
This is a convenience method that creates an instance of theTableCreation.Builderavoiding the need to create one manually viaTableCreation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totableCreation(TableCreation).- Parameters:
tableCreation- a consumer that will call methods onTableCreation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compressionType
The compression codec for Iceberg table data files. Defaults to ZSTD.
- Parameters:
compressionType- The compression codec for Iceberg table data files. Defaults to ZSTD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compressionType
The compression codec for Iceberg table data files. Defaults to ZSTD.
- Parameters:
compressionType- The compression codec for Iceberg table data files. Defaults to ZSTD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-