Interface Dataset.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Dataset.Builder,
,Dataset> SdkBuilder<Dataset.Builder,
,Dataset> SdkPojo
- Enclosing class:
Dataset
@Mutable
@NotThreadSafe
public static interface Dataset.Builder
extends SdkPojo, CopyableBuilder<Dataset.Builder,Dataset>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Dataset.Builder
inputConfig
(Consumer<DatasetInputConfig.Builder> inputConfig) A DatasetInputConfig object that defines the data source and schema mapping.inputConfig
(DatasetInputConfig inputConfig) A DatasetInputConfig object that defines the data source and schema mapping.What type of information is found in the dataset.type
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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
A DatasetInputConfig object that defines the data source and schema mapping.
This is a convenience method that creates an instance of theDatasetInputConfig.Builder
avoiding the need to create one manually viaDatasetInputConfig.builder()
.When the
Consumer
completes,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:
-