Interface DatasetSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetSource.Builder,
,DatasetSource> SdkBuilder<DatasetSource.Builder,
,DatasetSource> SdkPojo
- Enclosing class:
DatasetSource
@Mutable
@NotThreadSafe
public static interface DatasetSource.Builder
extends SdkPojo, CopyableBuilder<DatasetSource.Builder,DatasetSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatasetSource.Builder
sourceDetail
(Consumer<SourceDetail.Builder> sourceDetail) The details of the dataset source associated with the dataset.sourceDetail
(SourceDetail sourceDetail) The details of the dataset source associated with the dataset.sourceFormat
(String sourceFormat) The format of the dataset source associated with the dataset.sourceFormat
(DatasetSourceFormat sourceFormat) The format of the dataset source associated with the dataset.sourceType
(String sourceType) The type of data source for the dataset.sourceType
(DatasetSourceType sourceType) The type of data source for 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
-
sourceType
The type of data source for the dataset.
- Parameters:
sourceType
- The type of data source for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The type of data source for the dataset.
- Parameters:
sourceType
- The type of data source for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceFormat
The format of the dataset source associated with the dataset.
- Parameters:
sourceFormat
- The format of the dataset source associated with the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceFormat
The format of the dataset source associated with the dataset.
- Parameters:
sourceFormat
- The format of the dataset source associated with the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceDetail
The details of the dataset source associated with the dataset.
- Parameters:
sourceDetail
- The details of the dataset source associated with the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDetail
The details of the dataset source associated with the dataset.
This is a convenience method that creates an instance of theSourceDetail.Builder
avoiding the need to create one manually viaSourceDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceDetail(SourceDetail)
.- Parameters:
sourceDetail
- a consumer that will call methods onSourceDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-