Interface DataSetImportConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSetImportConfig.Builder,
,DataSetImportConfig> SdkBuilder<DataSetImportConfig.Builder,
,DataSetImportConfig> SdkPojo
- Enclosing class:
DataSetImportConfig
public static interface DataSetImportConfig.Builder
extends SdkPojo, CopyableBuilder<DataSetImportConfig.Builder,DataSetImportConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondataSets
(Collection<DataSetImportItem> dataSets) The data sets.dataSets
(Consumer<DataSetImportItem.Builder>... dataSets) The data sets.dataSets
(DataSetImportItem... dataSets) The data sets.s3Location
(String s3Location) The Amazon S3 location of the data sets.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 Details
-
dataSets
The data sets.
- Parameters:
dataSets
- The data sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
The data sets.
- Parameters:
dataSets
- The data sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
The data sets.
This is a convenience method that creates an instance of theDataSetImportItem.Builder
avoiding the need to create one manually viaDataSetImportItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSets(List<DataSetImportItem>)
.- Parameters:
dataSets
- a consumer that will call methods onDataSetImportItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Location
The Amazon S3 location of the data sets.
- Parameters:
s3Location
- The Amazon S3 location of the data sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-