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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataSetImportItem.BuilderdataSet(Consumer<DataSet.Builder> dataSet)The data set.DataSetImportItem.BuilderdataSet(DataSet dataSet)The data set.default DataSetImportItem.BuilderexternalLocation(Consumer<ExternalLocation.Builder> externalLocation)The location of the data set.DataSetImportItem.BuilderexternalLocation(ExternalLocation externalLocation)The location of the data set.-
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
-
dataSet
DataSetImportItem.Builder dataSet(DataSet 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
default DataSetImportItem.Builder dataSet(Consumer<DataSet.Builder> 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:
dataSet(DataSet)
-
externalLocation
DataSetImportItem.Builder externalLocation(ExternalLocation 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:
externalLocation(ExternalLocation)
-
-