Interface SourceTable.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceTable.Builder,,SourceTable> SdkBuilder<SourceTable.Builder,,SourceTable> SdkPojo
- Enclosing class:
SourceTable
@Mutable
@NotThreadSafe
public static interface SourceTable.Builder
extends SdkPojo, CopyableBuilder<SourceTable.Builder,SourceTable>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SourceTable.BuilderdataSet(Consumer<ParentDataSet.Builder> dataSet) A parent dataset that serves as the data source instead of a physical table.dataSet(ParentDataSet dataSet) A parent dataset that serves as the data source instead of a physical table.physicalTableId(String physicalTableId) The identifier of the physical table that serves as the data source.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
-
physicalTableId
The identifier of the physical table that serves as the data source.
- Parameters:
physicalTableId- The identifier of the physical table that serves as the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSet
A parent dataset that serves as the data source instead of a physical table.
- Parameters:
dataSet- A parent dataset that serves as the data source instead of a physical table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSet
A parent dataset that serves as the data source instead of a physical table.
This is a convenience method that creates an instance of theParentDataSet.Builderavoiding the need to create one manually viaParentDataSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSet(ParentDataSet).- Parameters:
dataSet- a consumer that will call methods onParentDataSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-