Interface DataSourceIntrospectionModel.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceIntrospectionModel.Builder,DataSourceIntrospectionModel>,SdkBuilder<DataSourceIntrospectionModel.Builder,DataSourceIntrospectionModel>,SdkPojo
- Enclosing class:
- DataSourceIntrospectionModel
public static interface DataSourceIntrospectionModel.Builder extends SdkPojo, CopyableBuilder<DataSourceIntrospectionModel.Builder,DataSourceIntrospectionModel>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
DataSourceIntrospectionModel.Builder name(String name)
The name of the model. For example, this could be the name of a single table in a database.
- Parameters:
name- The name of the model. For example, this could be the name of a single table in a database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
DataSourceIntrospectionModel.Builder fields(Collection<DataSourceIntrospectionModelField> fields)
The
DataSourceIntrospectionModelFieldobject data.- Parameters:
fields- TheDataSourceIntrospectionModelFieldobject data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
DataSourceIntrospectionModel.Builder fields(DataSourceIntrospectionModelField... fields)
The
DataSourceIntrospectionModelFieldobject data.- Parameters:
fields- TheDataSourceIntrospectionModelFieldobject data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
DataSourceIntrospectionModel.Builder fields(Consumer<DataSourceIntrospectionModelField.Builder>... fields)
The
This is a convenience method that creates an instance of theDataSourceIntrospectionModelFieldobject data.DataSourceIntrospectionModelField.Builderavoiding the need to create one manually viaDataSourceIntrospectionModelField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - Parameters:
fields- a consumer that will call methods onDataSourceIntrospectionModelField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
primaryKey
DataSourceIntrospectionModel.Builder primaryKey(DataSourceIntrospectionModelIndex primaryKey)
The primary key stored as a
DataSourceIntrospectionModelIndexobject.- Parameters:
primaryKey- The primary key stored as aDataSourceIntrospectionModelIndexobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryKey
default DataSourceIntrospectionModel.Builder primaryKey(Consumer<DataSourceIntrospectionModelIndex.Builder> primaryKey)
The primary key stored as a
This is a convenience method that creates an instance of theDataSourceIntrospectionModelIndexobject.DataSourceIntrospectionModelIndex.Builderavoiding the need to create one manually viaDataSourceIntrospectionModelIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimaryKey(DataSourceIntrospectionModelIndex).- Parameters:
primaryKey- a consumer that will call methods onDataSourceIntrospectionModelIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primaryKey(DataSourceIntrospectionModelIndex)
-
indexes
DataSourceIntrospectionModel.Builder indexes(Collection<DataSourceIntrospectionModelIndex> indexes)
The array of
DataSourceIntrospectionModelIndexobjects.- Parameters:
indexes- The array ofDataSourceIntrospectionModelIndexobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
DataSourceIntrospectionModel.Builder indexes(DataSourceIntrospectionModelIndex... indexes)
The array of
DataSourceIntrospectionModelIndexobjects.- Parameters:
indexes- The array ofDataSourceIntrospectionModelIndexobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
DataSourceIntrospectionModel.Builder indexes(Consumer<DataSourceIntrospectionModelIndex.Builder>... indexes)
The array of
This is a convenience method that creates an instance of theDataSourceIntrospectionModelIndexobjects.DataSourceIntrospectionModelIndex.Builderavoiding the need to create one manually viaDataSourceIntrospectionModelIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#indexes(List.) - Parameters:
indexes- a consumer that will call methods onDataSourceIntrospectionModelIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#indexes(java.util.Collection)
-
sdl
DataSourceIntrospectionModel.Builder sdl(String sdl)
Contains the output of the SDL that was generated from the introspected types. This is controlled by the
includeModelsSDLparameter of theGetDataSourceIntrospectionoperation.- Parameters:
sdl- Contains the output of the SDL that was generated from the introspected types. This is controlled by theincludeModelsSDLparameter of theGetDataSourceIntrospectionoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-