public static interface CfnModelPackage.SourceAlgorithmProperty
The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; SourceAlgorithmProperty sourceAlgorithmProperty = SourceAlgorithmProperty.builder() .algorithmName("algorithmName") // the properties below are optional .modelDataUrl("modelDataUrl") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnModelPackage.SourceAlgorithmProperty.Builder
A builder for
CfnModelPackage.SourceAlgorithmProperty |
static class |
CfnModelPackage.SourceAlgorithmProperty.Jsii$Proxy
An implementation for
CfnModelPackage.SourceAlgorithmProperty |
Modifier and Type | Method and Description |
---|---|
static CfnModelPackage.SourceAlgorithmProperty.Builder |
builder() |
java.lang.String |
getAlgorithmName()
The name of an algorithm that was used to create the model package.
|
default java.lang.String |
getModelDataUrl()
The Amazon S3 path where the model artifacts, which result from model training, are stored.
|
java.lang.String getAlgorithmName()
The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
default java.lang.String getModelDataUrl()
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.
static CfnModelPackage.SourceAlgorithmProperty.Builder builder()