@Stability(value=Stable) public static final class CfnModelPackage.SourceAlgorithmProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnModelPackage.SourceAlgorithmProperty>
CfnModelPackage.SourceAlgorithmProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnModelPackage.SourceAlgorithmProperty.Builder |
algorithmName(String algorithmName)
Sets the value of
CfnModelPackage.SourceAlgorithmProperty.getAlgorithmName() |
CfnModelPackage.SourceAlgorithmProperty |
build()
Builds the configured instance.
|
CfnModelPackage.SourceAlgorithmProperty.Builder |
modelDataUrl(String modelDataUrl)
Sets the value of
CfnModelPackage.SourceAlgorithmProperty.getModelDataUrl() |
@Stability(value=Stable) public CfnModelPackage.SourceAlgorithmProperty.Builder algorithmName(String algorithmName)
CfnModelPackage.SourceAlgorithmProperty.getAlgorithmName()algorithmName - The name of an algorithm that was used to create the model package. This parameter is required.
The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.this@Stability(value=Stable) public CfnModelPackage.SourceAlgorithmProperty.Builder modelDataUrl(String modelDataUrl)
CfnModelPackage.SourceAlgorithmProperty.getModelDataUrl()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 region as the algorithm.
this@Stability(value=Stable) public CfnModelPackage.SourceAlgorithmProperty build()
build in interface software.amazon.jsii.Builder<CfnModelPackage.SourceAlgorithmProperty>CfnModelPackage.SourceAlgorithmPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.