Interface ModelDataSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModelDataSource.Builder,,ModelDataSource> SdkBuilder<ModelDataSource.Builder,,ModelDataSource> SdkPojo
- Enclosing class:
ModelDataSource
public static interface ModelDataSource.Builder
extends SdkPojo, CopyableBuilder<ModelDataSource.Builder,ModelDataSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ModelDataSource.Builders3DataSource(Consumer<S3ModelDataSource.Builder> s3DataSource) Specifies the S3 location of ML model data to deploy.s3DataSource(S3ModelDataSource s3DataSource) Specifies the S3 location of ML model data to deploy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
s3DataSource
Specifies the S3 location of ML model data to deploy.
- Parameters:
s3DataSource- Specifies the S3 location of ML model data to deploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DataSource
Specifies the S3 location of ML model data to deploy.
This is a convenience method that creates an instance of theS3ModelDataSource.Builderavoiding the need to create one manually viaS3ModelDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3DataSource(S3ModelDataSource).- Parameters:
s3DataSource- a consumer that will call methods onS3ModelDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-