public static final class CfnModelPackage.SourceAlgorithmProperty.Builder
extends java.lang.Object
CfnModelPackage.SourceAlgorithmProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnModelPackage.SourceAlgorithmProperty.Builder |
algorithmName(java.lang.String algorithmName)
Sets the value of
CfnModelPackage.SourceAlgorithmProperty.getAlgorithmName() |
CfnModelPackage.SourceAlgorithmProperty |
build()
Builds the configured instance.
|
CfnModelPackage.SourceAlgorithmProperty.Builder |
modelDataUrl(java.lang.String modelDataUrl)
Sets the value of
CfnModelPackage.SourceAlgorithmProperty.getModelDataUrl() |
public CfnModelPackage.SourceAlgorithmProperty.Builder algorithmName(java.lang.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
public CfnModelPackage.SourceAlgorithmProperty.Builder modelDataUrl(java.lang.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
public CfnModelPackage.SourceAlgorithmProperty build()
CfnModelPackage.SourceAlgorithmProperty
java.lang.NullPointerException
- if any required attribute was not provided