Interface ModelDataSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ModelDataSource.Builder,ModelDataSource>,SdkBuilder<ModelDataSource.Builder,ModelDataSource>,SdkPojo
- Enclosing class:
- ModelDataSource
@Mutable @NotThreadSafe public static interface ModelDataSource.Builder extends SdkPojo, CopyableBuilder<ModelDataSource.Builder,ModelDataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModelDataSource.Builders3DataSource(Consumer<S3DataSource.Builder> s3DataSource)The Amazon S3 data source of the model to import.ModelDataSource.Builders3DataSource(S3DataSource s3DataSource)The Amazon S3 data source of the model to import.-
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
-
s3DataSource
ModelDataSource.Builder s3DataSource(S3DataSource s3DataSource)
The Amazon S3 data source of the model to import.
- Parameters:
s3DataSource- The Amazon S3 data source of the model to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DataSource
default ModelDataSource.Builder s3DataSource(Consumer<S3DataSource.Builder> s3DataSource)
The Amazon S3 data source of the model to import.
This is a convenience method that creates an instance of theS3DataSource.Builderavoiding the need to create one manually viaS3DataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3DataSource(S3DataSource).- Parameters:
s3DataSource- a consumer that will call methods onS3DataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3DataSource(S3DataSource)
-
-