@Stability(value=Stable) public static final class CfnModelPackage.Builder extends Object implements software.amazon.jsii.Builder<CfnModelPackage>
CfnModelPackage.| Modifier and Type | Method and Description |
|---|---|
CfnModelPackage.Builder |
additionalInferenceSpecificationDefinition(CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty additionalInferenceSpecificationDefinition)
`AWS::SageMaker::ModelPackage.AdditionalInferenceSpecificationDefinition`.
|
CfnModelPackage.Builder |
additionalInferenceSpecificationDefinition(IResolvable additionalInferenceSpecificationDefinition)
`AWS::SageMaker::ModelPackage.AdditionalInferenceSpecificationDefinition`.
|
CfnModelPackage.Builder |
additionalInferenceSpecifications(IResolvable additionalInferenceSpecifications)
An array of additional Inference Specification objects.
|
CfnModelPackage.Builder |
additionalInferenceSpecifications(List<? extends Object> additionalInferenceSpecifications)
An array of additional Inference Specification objects.
|
CfnModelPackage.Builder |
additionalInferenceSpecificationsToAdd(IResolvable additionalInferenceSpecificationsToAdd)
`AWS::SageMaker::ModelPackage.AdditionalInferenceSpecificationsToAdd`.
|
CfnModelPackage.Builder |
additionalInferenceSpecificationsToAdd(List<? extends Object> additionalInferenceSpecificationsToAdd)
`AWS::SageMaker::ModelPackage.AdditionalInferenceSpecificationsToAdd`.
|
CfnModelPackage.Builder |
approvalDescription(String approvalDescription)
A description provided when the model approval is set.
|
CfnModelPackage |
build() |
CfnModelPackage.Builder |
certifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is to be certified to be listed on AWS Marketplace.
|
CfnModelPackage.Builder |
certifyForMarketplace(IResolvable certifyForMarketplace)
Whether the model package is to be certified to be listed on AWS Marketplace.
|
CfnModelPackage.Builder |
clientToken(String clientToken)
`AWS::SageMaker::ModelPackage.ClientToken`.
|
static CfnModelPackage.Builder |
create(Construct scope,
String id) |
CfnModelPackage.Builder |
createdBy(CfnModelPackage.UserContextProperty createdBy)
`AWS::SageMaker::ModelPackage.CreatedBy`.
|
CfnModelPackage.Builder |
createdBy(IResolvable createdBy)
`AWS::SageMaker::ModelPackage.CreatedBy`.
|
CfnModelPackage.Builder |
customerMetadataProperties(IResolvable customerMetadataProperties)
The metadata properties for the model package.
|
CfnModelPackage.Builder |
customerMetadataProperties(Map<String,String> customerMetadataProperties)
The metadata properties for the model package.
|
CfnModelPackage.Builder |
domain(String domain)
The machine learning domain of your model package and its components.
|
CfnModelPackage.Builder |
driftCheckBaselines(CfnModelPackage.DriftCheckBaselinesProperty driftCheckBaselines)
Represents the drift check baselines that can be used when the model monitor is set using the model package.
|
CfnModelPackage.Builder |
driftCheckBaselines(IResolvable driftCheckBaselines)
Represents the drift check baselines that can be used when the model monitor is set using the model package.
|
CfnModelPackage.Builder |
environment(IResolvable environment)
The environment variables to set in the Docker container.
|
CfnModelPackage.Builder |
environment(Map<String,String> environment)
The environment variables to set in the Docker container.
|
CfnModelPackage.Builder |
inferenceSpecification(CfnModelPackage.InferenceSpecificationProperty inferenceSpecification)
`AWS::SageMaker::ModelPackage.InferenceSpecification`.
|
CfnModelPackage.Builder |
inferenceSpecification(IResolvable inferenceSpecification)
`AWS::SageMaker::ModelPackage.InferenceSpecification`.
|
CfnModelPackage.Builder |
lastModifiedBy(CfnModelPackage.UserContextProperty lastModifiedBy)
`AWS::SageMaker::ModelPackage.LastModifiedBy`.
|
CfnModelPackage.Builder |
lastModifiedBy(IResolvable lastModifiedBy)
`AWS::SageMaker::ModelPackage.LastModifiedBy`.
|
CfnModelPackage.Builder |
lastModifiedTime(String lastModifiedTime)
The last time the model package was modified.
|
CfnModelPackage.Builder |
metadataProperties(CfnModelPackage.MetadataPropertiesProperty metadataProperties)
`AWS::SageMaker::ModelPackage.MetadataProperties`.
|
CfnModelPackage.Builder |
metadataProperties(IResolvable metadataProperties)
`AWS::SageMaker::ModelPackage.MetadataProperties`.
|
CfnModelPackage.Builder |
modelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
|
CfnModelPackage.Builder |
modelMetrics(CfnModelPackage.ModelMetricsProperty modelMetrics)
Metrics for the model.
|
CfnModelPackage.Builder |
modelMetrics(IResolvable modelMetrics)
Metrics for the model.
|
CfnModelPackage.Builder |
modelPackageDescription(String modelPackageDescription)
The description of the model package.
|
CfnModelPackage.Builder |
modelPackageGroupName(String modelPackageGroupName)
The model group to which the model belongs.
|
CfnModelPackage.Builder |
modelPackageName(String modelPackageName)
The name of the model.
|
CfnModelPackage.Builder |
modelPackageStatusDetails(CfnModelPackage.ModelPackageStatusDetailsProperty modelPackageStatusDetails)
`AWS::SageMaker::ModelPackage.ModelPackageStatusDetails`.
|
CfnModelPackage.Builder |
modelPackageStatusDetails(IResolvable modelPackageStatusDetails)
`AWS::SageMaker::ModelPackage.ModelPackageStatusDetails`.
|
CfnModelPackage.Builder |
modelPackageStatusItem(CfnModelPackage.ModelPackageStatusItemProperty modelPackageStatusItem)
`AWS::SageMaker::ModelPackage.ModelPackageStatusItem`.
|
CfnModelPackage.Builder |
modelPackageStatusItem(IResolvable modelPackageStatusItem)
`AWS::SageMaker::ModelPackage.ModelPackageStatusItem`.
|
CfnModelPackage.Builder |
modelPackageVersion(Number modelPackageVersion)
The version number of a versioned model.
|
CfnModelPackage.Builder |
samplePayloadUrl(String samplePayloadUrl)
The Amazon Simple Storage Service path where the sample payload are stored.
|
CfnModelPackage.Builder |
sourceAlgorithmSpecification(CfnModelPackage.SourceAlgorithmSpecificationProperty sourceAlgorithmSpecification)
`AWS::SageMaker::ModelPackage.SourceAlgorithmSpecification`.
|
CfnModelPackage.Builder |
sourceAlgorithmSpecification(IResolvable sourceAlgorithmSpecification)
`AWS::SageMaker::ModelPackage.SourceAlgorithmSpecification`.
|
CfnModelPackage.Builder |
tags(List<? extends CfnTag> tags)
A list of the tags associated with the model package.
|
CfnModelPackage.Builder |
task(String task)
The machine learning task your model package accomplishes.
|
CfnModelPackage.Builder |
validationSpecification(CfnModelPackage.ValidationSpecificationProperty validationSpecification)
`AWS::SageMaker::ModelPackage.ValidationSpecification`.
|
CfnModelPackage.Builder |
validationSpecification(IResolvable validationSpecification)
`AWS::SageMaker::ModelPackage.ValidationSpecification`.
|
@Stability(value=Stable) public static CfnModelPackage.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Builder.@Stability(value=Stable) public CfnModelPackage.Builder additionalInferenceSpecificationDefinition(CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty additionalInferenceSpecificationDefinition)
additionalInferenceSpecificationDefinition - `AWS::SageMaker::ModelPackage.AdditionalInferenceSpecificationDefinition`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder additionalInferenceSpecificationDefinition(IResolvable additionalInferenceSpecificationDefinition)
additionalInferenceSpecificationDefinition - `AWS::SageMaker::ModelPackage.AdditionalInferenceSpecificationDefinition`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder additionalInferenceSpecifications(IResolvable additionalInferenceSpecifications)
additionalInferenceSpecifications - An array of additional Inference Specification objects. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder additionalInferenceSpecifications(List<? extends Object> additionalInferenceSpecifications)
additionalInferenceSpecifications - An array of additional Inference Specification objects. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder additionalInferenceSpecificationsToAdd(IResolvable additionalInferenceSpecificationsToAdd)
additionalInferenceSpecificationsToAdd - `AWS::SageMaker::ModelPackage.AdditionalInferenceSpecificationsToAdd`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder additionalInferenceSpecificationsToAdd(List<? extends Object> additionalInferenceSpecificationsToAdd)
additionalInferenceSpecificationsToAdd - `AWS::SageMaker::ModelPackage.AdditionalInferenceSpecificationsToAdd`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder approvalDescription(String approvalDescription)
approvalDescription - A description provided when the model approval is set. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder certifyForMarketplace(Boolean certifyForMarketplace)
For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
certifyForMarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder certifyForMarketplace(IResolvable certifyForMarketplace)
For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
certifyForMarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder clientToken(String clientToken)
clientToken - `AWS::SageMaker::ModelPackage.ClientToken`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder createdBy(CfnModelPackage.UserContextProperty createdBy)
createdBy - `AWS::SageMaker::ModelPackage.CreatedBy`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder createdBy(IResolvable createdBy)
createdBy - `AWS::SageMaker::ModelPackage.CreatedBy`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder customerMetadataProperties(IResolvable customerMetadataProperties)
customerMetadataProperties - The metadata properties for the model package. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder customerMetadataProperties(Map<String,String> customerMetadataProperties)
customerMetadataProperties - The metadata properties for the model package. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder domain(String domain)
Common machine learning domains include computer vision and natural language processing.
domain - The machine learning domain of your model package and its components. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder driftCheckBaselines(CfnModelPackage.DriftCheckBaselinesProperty driftCheckBaselines)
driftCheckBaselines - Represents the drift check baselines that can be used when the model monitor is set using the model package. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder driftCheckBaselines(IResolvable driftCheckBaselines)
driftCheckBaselines - Represents the drift check baselines that can be used when the model monitor is set using the model package. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder environment(IResolvable environment)
Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map.
environment - The environment variables to set in the Docker container. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder environment(Map<String,String> environment)
Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map.
environment - The environment variables to set in the Docker container. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder inferenceSpecification(CfnModelPackage.InferenceSpecificationProperty inferenceSpecification)
inferenceSpecification - `AWS::SageMaker::ModelPackage.InferenceSpecification`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder inferenceSpecification(IResolvable inferenceSpecification)
inferenceSpecification - `AWS::SageMaker::ModelPackage.InferenceSpecification`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder lastModifiedBy(CfnModelPackage.UserContextProperty lastModifiedBy)
lastModifiedBy - `AWS::SageMaker::ModelPackage.LastModifiedBy`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder lastModifiedBy(IResolvable lastModifiedBy)
lastModifiedBy - `AWS::SageMaker::ModelPackage.LastModifiedBy`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder lastModifiedTime(String lastModifiedTime)
lastModifiedTime - The last time the model package was modified. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder metadataProperties(CfnModelPackage.MetadataPropertiesProperty metadataProperties)
metadataProperties - `AWS::SageMaker::ModelPackage.MetadataProperties`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder metadataProperties(IResolvable metadataProperties)
metadataProperties - `AWS::SageMaker::ModelPackage.MetadataProperties`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelApprovalStatus(String modelApprovalStatus)
APPROVED - The model is approvedREJECTED - The model is rejected.PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.modelApprovalStatus - The approval status of the model. This can be one of the following values. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelMetrics(CfnModelPackage.ModelMetricsProperty modelMetrics)
modelMetrics - Metrics for the model. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelMetrics(IResolvable modelMetrics)
modelMetrics - Metrics for the model. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelPackageDescription(String modelPackageDescription)
modelPackageDescription - The description of the model package. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelPackageGroupName(String modelPackageGroupName)
modelPackageGroupName - The model group to which the model belongs. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelPackageName(String modelPackageName)
modelPackageName - The name of the model. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelPackageStatusDetails(CfnModelPackage.ModelPackageStatusDetailsProperty modelPackageStatusDetails)
modelPackageStatusDetails - `AWS::SageMaker::ModelPackage.ModelPackageStatusDetails`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelPackageStatusDetails(IResolvable modelPackageStatusDetails)
modelPackageStatusDetails - `AWS::SageMaker::ModelPackage.ModelPackageStatusDetails`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelPackageStatusItem(CfnModelPackage.ModelPackageStatusItemProperty modelPackageStatusItem)
modelPackageStatusItem - `AWS::SageMaker::ModelPackage.ModelPackageStatusItem`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelPackageStatusItem(IResolvable modelPackageStatusItem)
modelPackageStatusItem - `AWS::SageMaker::ModelPackage.ModelPackageStatusItem`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder modelPackageVersion(Number modelPackageVersion)
modelPackageVersion - The version number of a versioned model. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder samplePayloadUrl(String samplePayloadUrl)
This path must point to a single gzip compressed tar archive (.tar.gz suffix).
samplePayloadUrl - The Amazon Simple Storage Service path where the sample payload are stored. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder sourceAlgorithmSpecification(CfnModelPackage.SourceAlgorithmSpecificationProperty sourceAlgorithmSpecification)
sourceAlgorithmSpecification - `AWS::SageMaker::ModelPackage.SourceAlgorithmSpecification`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder sourceAlgorithmSpecification(IResolvable sourceAlgorithmSpecification)
sourceAlgorithmSpecification - `AWS::SageMaker::ModelPackage.SourceAlgorithmSpecification`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder tags(List<? extends CfnTag> tags)
For more information, see Tagging AWS resources in the AWS General Reference Guide .
tags - A list of the tags associated with the model package. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder task(String task)
Common machine learning tasks include object detection and image classification.
task - The machine learning task your model package accomplishes. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder validationSpecification(CfnModelPackage.ValidationSpecificationProperty validationSpecification)
validationSpecification - `AWS::SageMaker::ModelPackage.ValidationSpecification`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage.Builder validationSpecification(IResolvable validationSpecification)
validationSpecification - `AWS::SageMaker::ModelPackage.ValidationSpecification`. This parameter is required.this@Stability(value=Stable) public CfnModelPackage build()
build in interface software.amazon.jsii.Builder<CfnModelPackage>Copyright © 2022. All rights reserved.