Interface DataSetImportItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSetImportItem.Builder,,DataSetImportItem> SdkBuilder<DataSetImportItem.Builder,,DataSetImportItem> SdkPojo
- Enclosing class:
DataSetImportItem
public static interface DataSetImportItem.Builder
extends SdkPojo, CopyableBuilder<DataSetImportItem.Builder,DataSetImportItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSetImportItem.BuilderdataSet(Consumer<DataSet.Builder> dataSet) The data set.The data set.default DataSetImportItem.BuilderexternalLocation(Consumer<ExternalLocation.Builder> externalLocation) The location of the data set.externalLocation(ExternalLocation externalLocation) The location of the data set.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, sdkFields
-
Method Details
-
dataSet
The data set.
- Parameters:
dataSet- The data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSet
The data set.
This is a convenience method that creates an instance of theDataSet.Builderavoiding the need to create one manually viaDataSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSet(DataSet).- Parameters:
dataSet- 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:
-
externalLocation
The location of the data set.
- Parameters:
externalLocation- The location of the data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalLocation
default DataSetImportItem.Builder externalLocation(Consumer<ExternalLocation.Builder> externalLocation) The location of the data set.
This is a convenience method that creates an instance of theExternalLocation.Builderavoiding the need to create one manually viaExternalLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalLocation(ExternalLocation).- Parameters:
externalLocation- a consumer that will call methods onExternalLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-