Interface DatasetSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetSource.Builder,DatasetSource>,SdkBuilder<DatasetSource.Builder,DatasetSource>,SdkPojo
- Enclosing class:
- DatasetSource
public static interface DatasetSource.Builder extends SdkPojo, CopyableBuilder<DatasetSource.Builder,DatasetSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DatasetSource.BuildersourceDetail(Consumer<SourceDetail.Builder> sourceDetail)The details of the dataset source associated with the dataset.DatasetSource.BuildersourceDetail(SourceDetail sourceDetail)The details of the dataset source associated with the dataset.DatasetSource.BuildersourceFormat(String sourceFormat)The format of the dataset source associated with the dataset.DatasetSource.BuildersourceFormat(DatasetSourceFormat sourceFormat)The format of the dataset source associated with the dataset.DatasetSource.BuildersourceType(String sourceType)The type of data source for the dataset.DatasetSource.BuildersourceType(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 Detail
-
sourceType
DatasetSource.Builder sourceType(String 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:
DatasetSourceType,DatasetSourceType
-
sourceType
DatasetSource.Builder sourceType(DatasetSourceType 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:
DatasetSourceType,DatasetSourceType
-
sourceFormat
DatasetSource.Builder sourceFormat(String 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:
DatasetSourceFormat,DatasetSourceFormat
-
sourceFormat
DatasetSource.Builder sourceFormat(DatasetSourceFormat 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:
DatasetSourceFormat,DatasetSourceFormat
-
sourceDetail
DatasetSource.Builder sourceDetail(SourceDetail 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
default DatasetSource.Builder sourceDetail(Consumer<SourceDetail.Builder> sourceDetail)
The details of the dataset source associated with the dataset.
This is a convenience method that creates an instance of theSourceDetail.Builderavoiding the need to create one manually viaSourceDetail.builder().When the
Consumercompletes,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:
sourceDetail(SourceDetail)
-
-