Interface DestinationTable.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DestinationTable.Builder,,DestinationTable> SdkBuilder<DestinationTable.Builder,,DestinationTable> SdkPojo
- Enclosing class:
DestinationTable
@Mutable
@NotThreadSafe
public static interface DestinationTable.Builder
extends SdkPojo, CopyableBuilder<DestinationTable.Builder,DestinationTable>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationDatabaseName(String destinationDatabaseName) The name of the destination namespace (database) in the AWS Glue Data Catalog.destinationTableName(String destinationTableName) The name of the destination Apache Iceberg table.default DestinationTable.BuilderpartitionSpec(Consumer<PartitionSpec.Builder> partitionSpec) The partition specification for the destination table.partitionSpec(PartitionSpec partitionSpec) The partition specification for the destination table.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
-
destinationDatabaseName
The name of the destination namespace (database) in the AWS Glue Data Catalog.
- Parameters:
destinationDatabaseName- The name of the destination namespace (database) in the AWS Glue Data Catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTableName
The name of the destination Apache Iceberg table.
- Parameters:
destinationTableName- The name of the destination Apache Iceberg table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpec
The partition specification for the destination table.
- Parameters:
partitionSpec- The partition specification for the destination table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpec
The partition specification for the destination table.
This is a convenience method that creates an instance of thePartitionSpec.Builderavoiding the need to create one manually viaPartitionSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartitionSpec(PartitionSpec).- Parameters:
partitionSpec- a consumer that will call methods onPartitionSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-