Interface CfnModelCard.ModelPackageDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelCard.ModelPackageDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnModelCard
@Stability(Stable)
public static interface CfnModelCard.ModelPackageDetailsProperty
extends software.amazon.jsii.JsiiSerializable
Metadata information related to model package version.
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.*;
ModelPackageDetailsProperty modelPackageDetailsProperty = ModelPackageDetailsProperty.builder()
.approvalDescription("approvalDescription")
.createdBy(ModelPackageCreatorProperty.builder()
.userProfileName("userProfileName")
.build())
.domain("domain")
.inferenceSpecification(InferenceSpecificationProperty.builder()
.containers(List.of(ContainerProperty.builder()
.image("image")
// the properties below are optional
.modelDataUrl("modelDataUrl")
.nearestModelName("nearestModelName")
.build()))
.build())
.modelApprovalStatus("modelApprovalStatus")
.modelPackageArn("modelPackageArn")
.modelPackageDescription("modelPackageDescription")
.modelPackageGroupName("modelPackageGroupName")
.modelPackageName("modelPackageName")
.modelPackageStatus("modelPackageStatus")
.modelPackageVersion(123)
.sourceAlgorithms(List.of(SourceAlgorithmProperty.builder()
.algorithmName("algorithmName")
// the properties below are optional
.modelDataUrl("modelDataUrl")
.build()))
.task("task")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelCard.ModelPackageDetailsPropertystatic final classAn implementation forCfnModelCard.ModelPackageDetailsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description provided for the model approval.default ObjectReturns union: eitherIResolvableorCfnModelCard.ModelPackageCreatorPropertydefault StringThe machine learning domain of the model package you specified.default ObjectReturns union: eitherIResolvableorCfnModelCard.InferenceSpecificationPropertydefault StringCurrent approval status of model package.default StringThe Amazon Resource Name (ARN) of the model package.default StringA brief summary of the model package.default StringIf the model is a versioned model, the name of the model group that the versioned model belongs to.default StringName of the model package.default StringCurrent status of model package.default NumberVersion of the model package.default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnModelCard.SourceAlgorithmProperty>default StringgetTask()The machine learning task you specified that your model package accomplishes.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApprovalDescription
A description provided for the model approval.- See Also:
-
getCreatedBy
Returns union: eitherIResolvableorCfnModelCard.ModelPackageCreatorProperty- See Also:
-
getDomain
The machine learning domain of the model package you specified.Common machine learning domains include computer vision and natural language processing.
- See Also:
-
getInferenceSpecification
Returns union: eitherIResolvableorCfnModelCard.InferenceSpecificationProperty- See Also:
-
getModelApprovalStatus
Current approval status of model package.- See Also:
-
getModelPackageArn
The Amazon Resource Name (ARN) of the model package.- See Also:
-
getModelPackageDescription
A brief summary of the model package.- See Also:
-
getModelPackageGroupName
If the model is a versioned model, the name of the model group that the versioned model belongs to.- See Also:
-
getModelPackageName
Name of the model package.- See Also:
-
getModelPackageStatus
Current status of model package.- See Also:
-
getModelPackageVersion
Version of the model package.- See Also:
-
getSourceAlgorithms
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnModelCard.SourceAlgorithmProperty>- See Also:
-
getTask
The machine learning task you specified that your model package accomplishes.Common machine learning tasks include object detection and image classification.
- See Also:
-
builder
-