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
DataSourceIntrospectionModelField
object data.- Parameters:
fields
- TheDataSourceIntrospectionModelField
object data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
DataSourceIntrospectionModel.Builder fields(DataSourceIntrospectionModelField... fields)
The
DataSourceIntrospectionModelField
object data.- Parameters:
fields
- TheDataSourceIntrospectionModelField
object 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 theDataSourceIntrospectionModelField
object data.DataSourceIntrospectionModelField.Builder
avoiding the need to create one manually viaDataSourceIntrospectionModelField.builder()
.When the
Consumer
completes,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
DataSourceIntrospectionModelIndex
object.- Parameters:
primaryKey
- The primary key stored as aDataSourceIntrospectionModelIndex
object.- 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 theDataSourceIntrospectionModelIndex
object.DataSourceIntrospectionModelIndex.Builder
avoiding the need to create one manually viaDataSourceIntrospectionModelIndex.builder()
.When the
Consumer
completes,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
DataSourceIntrospectionModelIndex
objects.- Parameters:
indexes
- The array ofDataSourceIntrospectionModelIndex
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
DataSourceIntrospectionModel.Builder indexes(DataSourceIntrospectionModelIndex... indexes)
The array of
DataSourceIntrospectionModelIndex
objects.- Parameters:
indexes
- The array ofDataSourceIntrospectionModelIndex
objects.- 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 theDataSourceIntrospectionModelIndex
objects.DataSourceIntrospectionModelIndex.Builder
avoiding the need to create one manually viaDataSourceIntrospectionModelIndex.builder()
.When the
Consumer
completes,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
includeModelsSDL
parameter of theGetDataSourceIntrospection
operation.- Parameters:
sdl
- Contains the output of the SDL that was generated from the introspected types. This is controlled by theincludeModelsSDL
parameter of theGetDataSourceIntrospection
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-