Interface SourceAlgorithm.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceAlgorithm.Builder,
,SourceAlgorithm> SdkBuilder<SourceAlgorithm.Builder,
,SourceAlgorithm> SdkPojo
- Enclosing class:
SourceAlgorithm
-
Method Summary
Modifier and TypeMethodDescriptionalgorithmName
(String algorithmName) The name of an algorithm that was used to create the model package.default SourceAlgorithm.Builder
modelDataSource
(Consumer<ModelDataSource.Builder> modelDataSource) Specifies the location of ML model data to deploy during endpoint creation.modelDataSource
(ModelDataSource modelDataSource) Specifies the location of ML model data to deploy during endpoint creation.modelDataUrl
(String modelDataUrl) The Amazon S3 path where the model artifacts, which result from model training, are stored.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, sdkFields
-
Method Details
-
modelDataUrl
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single
gzip
compressed tar archive (.tar.gz
suffix).The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
- Parameters:
modelDataUrl
- The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a singlegzip
compressed tar archive (.tar.gz
suffix).The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDataSource
Specifies the location of ML model data to deploy during endpoint creation.
- Parameters:
modelDataSource
- Specifies the location of ML model data to deploy during endpoint creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDataSource
Specifies the location of ML model data to deploy during endpoint creation.
This is a convenience method that creates an instance of theModelDataSource.Builder
avoiding the need to create one manually viaModelDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelDataSource(ModelDataSource)
.- Parameters:
modelDataSource
- a consumer that will call methods onModelDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
algorithmName
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
- Parameters:
algorithmName
- The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-