Interface Dataset.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Dataset.Builder,Dataset>,SdkBuilder<Dataset.Builder,Dataset>,SdkPojo
- Enclosing class:
- Dataset
public static interface Dataset.Builder extends SdkPojo, CopyableBuilder<Dataset.Builder,Dataset>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Dataset.BuilderinputConfig(Consumer<DatasetInputConfig.Builder> inputConfig)A DatasetInputConfig object that defines the data source and schema mapping.Dataset.BuilderinputConfig(DatasetInputConfig inputConfig)A DatasetInputConfig object that defines the data source and schema mapping.Dataset.Buildertype(String type)What type of information is found in the dataset.Dataset.Buildertype(DatasetType type)What type of information is found in the dataset.-
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
-
inputConfig
Dataset.Builder inputConfig(DatasetInputConfig inputConfig)
A DatasetInputConfig object that defines the data source and schema mapping.
- Parameters:
inputConfig- A DatasetInputConfig object that defines the data source and schema mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfig
default Dataset.Builder inputConfig(Consumer<DatasetInputConfig.Builder> inputConfig)
A DatasetInputConfig object that defines the data source and schema mapping.
This is a convenience method that creates an instance of theDatasetInputConfig.Builderavoiding the need to create one manually viaDatasetInputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputConfig(DatasetInputConfig).- Parameters:
inputConfig- a consumer that will call methods onDatasetInputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inputConfig(DatasetInputConfig)
-
type
Dataset.Builder type(String type)
What type of information is found in the dataset.
- Parameters:
type- What type of information is found in the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DatasetType,DatasetType
-
type
Dataset.Builder type(DatasetType type)
What type of information is found in the dataset.
- Parameters:
type- What type of information is found in the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DatasetType,DatasetType
-
-