public static final class CfnModelPackageProps.Builder
extends java.lang.Object
CfnModelPackageProps
Constructor and Description |
---|
Builder() |
public CfnModelPackageProps.Builder additionalInferenceSpecificationDefinition(IResolvable additionalInferenceSpecificationDefinition)
CfnModelPackageProps.getAdditionalInferenceSpecificationDefinition()
additionalInferenceSpecificationDefinition
- A structure of additional Inference Specification.
Additional Inference Specification specifies details about inference jobs that can be run with models based on this model packagethis
public CfnModelPackageProps.Builder additionalInferenceSpecificationDefinition(CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty additionalInferenceSpecificationDefinition)
CfnModelPackageProps.getAdditionalInferenceSpecificationDefinition()
additionalInferenceSpecificationDefinition
- A structure of additional Inference Specification.
Additional Inference Specification specifies details about inference jobs that can be run with models based on this model packagethis
public CfnModelPackageProps.Builder additionalInferenceSpecifications(IResolvable additionalInferenceSpecifications)
CfnModelPackageProps.getAdditionalInferenceSpecifications()
additionalInferenceSpecifications
- An array of additional Inference Specification objects.this
public CfnModelPackageProps.Builder additionalInferenceSpecifications(java.util.List<? extends java.lang.Object> additionalInferenceSpecifications)
CfnModelPackageProps.getAdditionalInferenceSpecifications()
additionalInferenceSpecifications
- An array of additional Inference Specification objects.this
public CfnModelPackageProps.Builder additionalInferenceSpecificationsToAdd(IResolvable additionalInferenceSpecificationsToAdd)
CfnModelPackageProps.getAdditionalInferenceSpecificationsToAdd()
additionalInferenceSpecificationsToAdd
- An array of additional Inference Specification objects to be added to the existing array.
The total number of additional Inference Specification objects cannot exceed 15. Each additional Inference Specification object specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.this
public CfnModelPackageProps.Builder additionalInferenceSpecificationsToAdd(java.util.List<? extends java.lang.Object> additionalInferenceSpecificationsToAdd)
CfnModelPackageProps.getAdditionalInferenceSpecificationsToAdd()
additionalInferenceSpecificationsToAdd
- An array of additional Inference Specification objects to be added to the existing array.
The total number of additional Inference Specification objects cannot exceed 15. Each additional Inference Specification object specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.this
public CfnModelPackageProps.Builder approvalDescription(java.lang.String approvalDescription)
CfnModelPackageProps.getApprovalDescription()
approvalDescription
- A description provided when the model approval is set.this
public CfnModelPackageProps.Builder certifyForMarketplace(java.lang.Boolean certifyForMarketplace)
CfnModelPackageProps.getCertifyForMarketplace()
certifyForMarketplace
- Whether the model package is to be certified to be listed on AWS Marketplace.
For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .this
public CfnModelPackageProps.Builder certifyForMarketplace(IResolvable certifyForMarketplace)
CfnModelPackageProps.getCertifyForMarketplace()
certifyForMarketplace
- Whether the model package is to be certified to be listed on AWS Marketplace.
For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .this
public CfnModelPackageProps.Builder clientToken(java.lang.String clientToken)
CfnModelPackageProps.getClientToken()
clientToken
- A unique token that guarantees that the call to this API is idempotent.this
public CfnModelPackageProps.Builder createdBy(IResolvable createdBy)
CfnModelPackageProps.getCreatedBy()
createdBy
- Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.this
public CfnModelPackageProps.Builder createdBy(CfnModelPackage.UserContextProperty createdBy)
CfnModelPackageProps.getCreatedBy()
createdBy
- Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.this
public CfnModelPackageProps.Builder customerMetadataProperties(IResolvable customerMetadataProperties)
CfnModelPackageProps.getCustomerMetadataProperties()
customerMetadataProperties
- The metadata properties for the model package.this
public CfnModelPackageProps.Builder customerMetadataProperties(java.util.Map<java.lang.String,java.lang.String> customerMetadataProperties)
CfnModelPackageProps.getCustomerMetadataProperties()
customerMetadataProperties
- The metadata properties for the model package.this
public CfnModelPackageProps.Builder domain(java.lang.String domain)
CfnModelPackageProps.getDomain()
domain
- The machine learning domain of your model package and its components.
Common machine learning domains include computer vision and natural language processing.this
public CfnModelPackageProps.Builder driftCheckBaselines(IResolvable driftCheckBaselines)
CfnModelPackageProps.getDriftCheckBaselines()
driftCheckBaselines
- Represents the drift check baselines that can be used when the model monitor is set using the model package.this
public CfnModelPackageProps.Builder driftCheckBaselines(CfnModelPackage.DriftCheckBaselinesProperty driftCheckBaselines)
CfnModelPackageProps.getDriftCheckBaselines()
driftCheckBaselines
- Represents the drift check baselines that can be used when the model monitor is set using the model package.this
public CfnModelPackageProps.Builder environment(IResolvable environment)
CfnModelPackageProps.getEnvironment()
environment
- The environment variables to set in the Docker container.
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.this
public CfnModelPackageProps.Builder environment(java.util.Map<java.lang.String,java.lang.String> environment)
CfnModelPackageProps.getEnvironment()
environment
- The environment variables to set in the Docker container.
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.this
public CfnModelPackageProps.Builder inferenceSpecification(IResolvable inferenceSpecification)
CfnModelPackageProps.getInferenceSpecification()
inferenceSpecification
- Defines how to perform inference generation after a training job is run.this
public CfnModelPackageProps.Builder inferenceSpecification(CfnModelPackage.InferenceSpecificationProperty inferenceSpecification)
CfnModelPackageProps.getInferenceSpecification()
inferenceSpecification
- Defines how to perform inference generation after a training job is run.this
public CfnModelPackageProps.Builder lastModifiedBy(IResolvable lastModifiedBy)
CfnModelPackageProps.getLastModifiedBy()
lastModifiedBy
- Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.this
public CfnModelPackageProps.Builder lastModifiedBy(CfnModelPackage.UserContextProperty lastModifiedBy)
CfnModelPackageProps.getLastModifiedBy()
lastModifiedBy
- Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.this
public CfnModelPackageProps.Builder lastModifiedTime(java.lang.String lastModifiedTime)
CfnModelPackageProps.getLastModifiedTime()
lastModifiedTime
- The last time the model package was modified.this
public CfnModelPackageProps.Builder metadataProperties(IResolvable metadataProperties)
CfnModelPackageProps.getMetadataProperties()
metadataProperties
- Metadata properties of the tracking entity, trial, or trial component.this
public CfnModelPackageProps.Builder metadataProperties(CfnModelPackage.MetadataPropertiesProperty metadataProperties)
CfnModelPackageProps.getMetadataProperties()
metadataProperties
- Metadata properties of the tracking entity, trial, or trial component.this
public CfnModelPackageProps.Builder modelApprovalStatus(java.lang.String modelApprovalStatus)
CfnModelPackageProps.getModelApprovalStatus()
modelApprovalStatus
- The approval status of the model. This can be one of the following values.
APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.this
public CfnModelPackageProps.Builder modelMetrics(IResolvable modelMetrics)
CfnModelPackageProps.getModelMetrics()
modelMetrics
- Metrics for the model.this
public CfnModelPackageProps.Builder modelMetrics(CfnModelPackage.ModelMetricsProperty modelMetrics)
CfnModelPackageProps.getModelMetrics()
modelMetrics
- Metrics for the model.this
public CfnModelPackageProps.Builder modelPackageDescription(java.lang.String modelPackageDescription)
CfnModelPackageProps.getModelPackageDescription()
modelPackageDescription
- The description of the model package.this
public CfnModelPackageProps.Builder modelPackageGroupName(java.lang.String modelPackageGroupName)
CfnModelPackageProps.getModelPackageGroupName()
modelPackageGroupName
- The model group to which the model belongs.this
public CfnModelPackageProps.Builder modelPackageName(java.lang.String modelPackageName)
CfnModelPackageProps.getModelPackageName()
modelPackageName
- The name of the model.this
public CfnModelPackageProps.Builder modelPackageStatusDetails(IResolvable modelPackageStatusDetails)
CfnModelPackageProps.getModelPackageStatusDetails()
modelPackageStatusDetails
- Specifies the validation and image scan statuses of the model package.this
public CfnModelPackageProps.Builder modelPackageStatusDetails(CfnModelPackage.ModelPackageStatusDetailsProperty modelPackageStatusDetails)
CfnModelPackageProps.getModelPackageStatusDetails()
modelPackageStatusDetails
- Specifies the validation and image scan statuses of the model package.this
public CfnModelPackageProps.Builder modelPackageStatusItem(IResolvable modelPackageStatusItem)
CfnModelPackageProps.getModelPackageStatusItem()
modelPackageStatusItem
- Represents the overall status of a model package.this
public CfnModelPackageProps.Builder modelPackageStatusItem(CfnModelPackage.ModelPackageStatusItemProperty modelPackageStatusItem)
CfnModelPackageProps.getModelPackageStatusItem()
modelPackageStatusItem
- Represents the overall status of a model package.this
public CfnModelPackageProps.Builder modelPackageVersion(java.lang.Number modelPackageVersion)
CfnModelPackageProps.getModelPackageVersion()
modelPackageVersion
- The version number of a versioned model.this
public CfnModelPackageProps.Builder samplePayloadUrl(java.lang.String samplePayloadUrl)
CfnModelPackageProps.getSamplePayloadUrl()
samplePayloadUrl
- The Amazon Simple Storage Service path where the sample payload are stored.
This path must point to a single gzip compressed tar archive (.tar.gz suffix).this
public CfnModelPackageProps.Builder sourceAlgorithmSpecification(IResolvable sourceAlgorithmSpecification)
CfnModelPackageProps.getSourceAlgorithmSpecification()
sourceAlgorithmSpecification
- A list of algorithms that were used to create a model package.this
public CfnModelPackageProps.Builder sourceAlgorithmSpecification(CfnModelPackage.SourceAlgorithmSpecificationProperty sourceAlgorithmSpecification)
CfnModelPackageProps.getSourceAlgorithmSpecification()
sourceAlgorithmSpecification
- A list of algorithms that were used to create a model package.this
public CfnModelPackageProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnModelPackageProps.getTags()
tags
- A list of the tags associated with the model package.
For more information, see Tagging AWS resources in the AWS General Reference Guide .this
public CfnModelPackageProps.Builder task(java.lang.String task)
CfnModelPackageProps.getTask()
task
- The machine learning task your model package accomplishes.
Common machine learning tasks include object detection and image classification.this
public CfnModelPackageProps.Builder validationSpecification(IResolvable validationSpecification)
CfnModelPackageProps.getValidationSpecification()
validationSpecification
- Specifies batch transform jobs that SageMaker runs to validate your model package.this
public CfnModelPackageProps.Builder validationSpecification(CfnModelPackage.ValidationSpecificationProperty validationSpecification)
CfnModelPackageProps.getValidationSpecification()
validationSpecification
- Specifies batch transform jobs that SageMaker runs to validate your model package.this
public CfnModelPackageProps build()
CfnModelPackageProps
java.lang.NullPointerException
- if any required attribute was not provided