Interface FileMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FileMetadata.Builder,
,FileMetadata> SdkBuilder<FileMetadata.Builder,
,FileMetadata> SdkPojo
- Enclosing class:
FileMetadata
@Mutable
@NotThreadSafe
public static interface FileMetadata.Builder
extends SdkPojo, CopyableBuilder<FileMetadata.Builder,FileMetadata>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileMetadata.Builder
databaseCDC
(Consumer<DatabaseCDC.Builder> databaseCDC) The database CDC of the file metadata.databaseCDC
(DatabaseCDC databaseCDC) The database CDC of the file metadata.dataSets
(Collection<DataSet> dataSets) The data sets of the file metadata.dataSets
(Consumer<DataSet.Builder>... dataSets) The data sets of the file metadata.The data sets of the file metadata.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, sdkFieldNameToField, sdkFields
-
Method Details
-
dataSets
The data sets of the file metadata.
- Parameters:
dataSets
- The data sets of the file metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
The data sets of the file metadata.
- Parameters:
dataSets
- The data sets of the file metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
The data sets of the file metadata.
This is a convenience method that creates an instance of theDataSet.Builder
avoiding the need to create one manually viaDataSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSets(List<DataSet>)
.- Parameters:
dataSets
- a consumer that will call methods onDataSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseCDC
The database CDC of the file metadata.
- Parameters:
databaseCDC
- The database CDC of the file metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseCDC
The database CDC of the file metadata.
This is a convenience method that creates an instance of theDatabaseCDC.Builder
avoiding the need to create one manually viaDatabaseCDC.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatabaseCDC(DatabaseCDC)
.- Parameters:
databaseCDC
- a consumer that will call methods onDatabaseCDC.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-