* The name of the model package being described. *
*/ private String modelPackageName; /** ** If the model is a versioned model, the name of the model group that the versioned model belongs to. *
*/ private String modelPackageGroupName; /** ** The version of the model package. *
*/ private Integer modelPackageVersion; /** ** The Amazon Resource Name (ARN) of the model package. *
*/ private String modelPackageArn; /** ** A brief summary of the model package. *
*/ private String modelPackageDescription; /** ** A timestamp specifying when the model package was created. *
*/ private java.util.Date creationTime; /** ** Details about inference jobs that can be run with models based on this model package. *
*/ private InferenceSpecification inferenceSpecification; /** ** Details about the algorithm that was used to create the model package. *
*/ private SourceAlgorithmSpecification sourceAlgorithmSpecification; /** ** Configurations for one or more transform jobs that SageMaker runs to test the model package. *
*/ private ModelPackageValidationSpecification validationSpecification; /** ** The current status of the model package. *
*/ private String modelPackageStatus; /** ** Details about the current status of the model package. *
*/ private ModelPackageStatusDetails modelPackageStatusDetails; /** ** Whether the model package is certified for listing on Amazon Web Services Marketplace. *
*/ private Boolean certifyForMarketplace; /** ** The approval status of the model package. *
*/ private String modelApprovalStatus; private UserContext createdBy; private MetadataProperties metadataProperties; /** ** Metrics for the model. *
*/ private ModelMetrics modelMetrics; /** ** The last time that the model package was modified. *
*/ private java.util.Date lastModifiedTime; private UserContext lastModifiedBy; /** ** A description provided for the model approval. *
*/ private String approvalDescription; /** ** The metadata properties associated with the model package versions. *
*/ private java.util.Map* Represents the drift check baselines that can be used when the model monitor is set using the model package. For * more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer * Guide. *
*/ private DriftCheckBaselines driftCheckBaselines; /** ** The machine learning domain of the model package you specified. Common machine learning domains include computer * vision and natural language processing. *
*/ private String domain; /** ** The machine learning task you specified that your model package accomplishes. Common machine learning tasks * include object detection and image classification. *
*/ private String task; /** ** The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a * single gzip compressed tar archive (.tar.gz suffix). *
*/ private String samplePayloadUrl; /** ** An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo * to store the compiled artifacts. *
*/ private java.util.List* The name of the model package being described. *
* * @param modelPackageName * The name of the model package being described. */ public void setModelPackageName(String modelPackageName) { this.modelPackageName = modelPackageName; } /** ** The name of the model package being described. *
* * @return The name of the model package being described. */ public String getModelPackageName() { return this.modelPackageName; } /** ** The name of the model package being described. *
* * @param modelPackageName * The name of the model package being described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageName(String modelPackageName) { setModelPackageName(modelPackageName); return this; } /** ** If the model is a versioned model, the name of the model group that the versioned model belongs to. *
* * @param modelPackageGroupName * If the model is a versioned model, the name of the model group that the versioned model belongs to. */ public void setModelPackageGroupName(String modelPackageGroupName) { this.modelPackageGroupName = modelPackageGroupName; } /** ** If the model is a versioned model, the name of the model group that the versioned model belongs to. *
* * @return If the model is a versioned model, the name of the model group that the versioned model belongs to. */ public String getModelPackageGroupName() { return this.modelPackageGroupName; } /** ** If the model is a versioned model, the name of the model group that the versioned model belongs to. *
* * @param modelPackageGroupName * If the model is a versioned model, the name of the model group that the versioned model belongs to. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageGroupName(String modelPackageGroupName) { setModelPackageGroupName(modelPackageGroupName); return this; } /** ** The version of the model package. *
* * @param modelPackageVersion * The version of the model package. */ public void setModelPackageVersion(Integer modelPackageVersion) { this.modelPackageVersion = modelPackageVersion; } /** ** The version of the model package. *
* * @return The version of the model package. */ public Integer getModelPackageVersion() { return this.modelPackageVersion; } /** ** The version of the model package. *
* * @param modelPackageVersion * The version of the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageVersion(Integer modelPackageVersion) { setModelPackageVersion(modelPackageVersion); return this; } /** ** The Amazon Resource Name (ARN) of the model package. *
* * @param modelPackageArn * The Amazon Resource Name (ARN) of the model package. */ public void setModelPackageArn(String modelPackageArn) { this.modelPackageArn = modelPackageArn; } /** ** The Amazon Resource Name (ARN) of the model package. *
* * @return The Amazon Resource Name (ARN) of the model package. */ public String getModelPackageArn() { return this.modelPackageArn; } /** ** The Amazon Resource Name (ARN) of the model package. *
* * @param modelPackageArn * The Amazon Resource Name (ARN) of the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageArn(String modelPackageArn) { setModelPackageArn(modelPackageArn); return this; } /** ** A brief summary of the model package. *
* * @param modelPackageDescription * A brief summary of the model package. */ public void setModelPackageDescription(String modelPackageDescription) { this.modelPackageDescription = modelPackageDescription; } /** ** A brief summary of the model package. *
* * @return A brief summary of the model package. */ public String getModelPackageDescription() { return this.modelPackageDescription; } /** ** A brief summary of the model package. *
* * @param modelPackageDescription * A brief summary of the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageDescription(String modelPackageDescription) { setModelPackageDescription(modelPackageDescription); return this; } /** ** A timestamp specifying when the model package was created. *
* * @param creationTime * A timestamp specifying when the model package was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** A timestamp specifying when the model package was created. *
* * @return A timestamp specifying when the model package was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** A timestamp specifying when the model package was created. *
* * @param creationTime * A timestamp specifying when the model package was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** Details about inference jobs that can be run with models based on this model package. *
* * @param inferenceSpecification * Details about inference jobs that can be run with models based on this model package. */ public void setInferenceSpecification(InferenceSpecification inferenceSpecification) { this.inferenceSpecification = inferenceSpecification; } /** ** Details about inference jobs that can be run with models based on this model package. *
* * @return Details about inference jobs that can be run with models based on this model package. */ public InferenceSpecification getInferenceSpecification() { return this.inferenceSpecification; } /** ** Details about inference jobs that can be run with models based on this model package. *
* * @param inferenceSpecification * Details about inference jobs that can be run with models based on this model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withInferenceSpecification(InferenceSpecification inferenceSpecification) { setInferenceSpecification(inferenceSpecification); return this; } /** ** Details about the algorithm that was used to create the model package. *
* * @param sourceAlgorithmSpecification * Details about the algorithm that was used to create the model package. */ public void setSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification) { this.sourceAlgorithmSpecification = sourceAlgorithmSpecification; } /** ** Details about the algorithm that was used to create the model package. *
* * @return Details about the algorithm that was used to create the model package. */ public SourceAlgorithmSpecification getSourceAlgorithmSpecification() { return this.sourceAlgorithmSpecification; } /** ** Details about the algorithm that was used to create the model package. *
* * @param sourceAlgorithmSpecification * Details about the algorithm that was used to create the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification) { setSourceAlgorithmSpecification(sourceAlgorithmSpecification); return this; } /** ** Configurations for one or more transform jobs that SageMaker runs to test the model package. *
* * @param validationSpecification * Configurations for one or more transform jobs that SageMaker runs to test the model package. */ public void setValidationSpecification(ModelPackageValidationSpecification validationSpecification) { this.validationSpecification = validationSpecification; } /** ** Configurations for one or more transform jobs that SageMaker runs to test the model package. *
* * @return Configurations for one or more transform jobs that SageMaker runs to test the model package. */ public ModelPackageValidationSpecification getValidationSpecification() { return this.validationSpecification; } /** ** Configurations for one or more transform jobs that SageMaker runs to test the model package. *
* * @param validationSpecification * Configurations for one or more transform jobs that SageMaker runs to test the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withValidationSpecification(ModelPackageValidationSpecification validationSpecification) { setValidationSpecification(validationSpecification); return this; } /** ** The current status of the model package. *
* * @param modelPackageStatus * The current status of the model package. * @see ModelPackageStatus */ public void setModelPackageStatus(String modelPackageStatus) { this.modelPackageStatus = modelPackageStatus; } /** ** The current status of the model package. *
* * @return The current status of the model package. * @see ModelPackageStatus */ public String getModelPackageStatus() { return this.modelPackageStatus; } /** ** The current status of the model package. *
* * @param modelPackageStatus * The current status of the model package. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelPackageStatus */ public DescribeModelPackageResult withModelPackageStatus(String modelPackageStatus) { setModelPackageStatus(modelPackageStatus); return this; } /** ** The current status of the model package. *
* * @param modelPackageStatus * The current status of the model package. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelPackageStatus */ public DescribeModelPackageResult withModelPackageStatus(ModelPackageStatus modelPackageStatus) { this.modelPackageStatus = modelPackageStatus.toString(); return this; } /** ** Details about the current status of the model package. *
* * @param modelPackageStatusDetails * Details about the current status of the model package. */ public void setModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails) { this.modelPackageStatusDetails = modelPackageStatusDetails; } /** ** Details about the current status of the model package. *
* * @return Details about the current status of the model package. */ public ModelPackageStatusDetails getModelPackageStatusDetails() { return this.modelPackageStatusDetails; } /** ** Details about the current status of the model package. *
* * @param modelPackageStatusDetails * Details about the current status of the model package. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails) { setModelPackageStatusDetails(modelPackageStatusDetails); return this; } /** ** Whether the model package is certified for listing on Amazon Web Services Marketplace. *
* * @param certifyForMarketplace * Whether the model package is certified for listing on Amazon Web Services Marketplace. */ public void setCertifyForMarketplace(Boolean certifyForMarketplace) { this.certifyForMarketplace = certifyForMarketplace; } /** ** Whether the model package is certified for listing on Amazon Web Services Marketplace. *
* * @return Whether the model package is certified for listing on Amazon Web Services Marketplace. */ public Boolean getCertifyForMarketplace() { return this.certifyForMarketplace; } /** ** Whether the model package is certified for listing on Amazon Web Services Marketplace. *
* * @param certifyForMarketplace * Whether the model package is certified for listing on Amazon Web Services Marketplace. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withCertifyForMarketplace(Boolean certifyForMarketplace) { setCertifyForMarketplace(certifyForMarketplace); return this; } /** ** Whether the model package is certified for listing on Amazon Web Services Marketplace. *
* * @return Whether the model package is certified for listing on Amazon Web Services Marketplace. */ public Boolean isCertifyForMarketplace() { return this.certifyForMarketplace; } /** ** The approval status of the model package. *
* * @param modelApprovalStatus * The approval status of the model package. * @see ModelApprovalStatus */ public void setModelApprovalStatus(String modelApprovalStatus) { this.modelApprovalStatus = modelApprovalStatus; } /** ** The approval status of the model package. *
* * @return The approval status of the model package. * @see ModelApprovalStatus */ public String getModelApprovalStatus() { return this.modelApprovalStatus; } /** ** The approval status of the model package. *
* * @param modelApprovalStatus * The approval status of the model package. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelApprovalStatus */ public DescribeModelPackageResult withModelApprovalStatus(String modelApprovalStatus) { setModelApprovalStatus(modelApprovalStatus); return this; } /** ** The approval status of the model package. *
* * @param modelApprovalStatus * The approval status of the model package. * @return Returns a reference to this object so that method calls can be chained together. * @see ModelApprovalStatus */ public DescribeModelPackageResult withModelApprovalStatus(ModelApprovalStatus modelApprovalStatus) { this.modelApprovalStatus = modelApprovalStatus.toString(); return this; } /** * @param createdBy */ public void setCreatedBy(UserContext createdBy) { this.createdBy = createdBy; } /** * @return */ public UserContext getCreatedBy() { return this.createdBy; } /** * @param createdBy * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withCreatedBy(UserContext createdBy) { setCreatedBy(createdBy); return this; } /** * @param metadataProperties */ public void setMetadataProperties(MetadataProperties metadataProperties) { this.metadataProperties = metadataProperties; } /** * @return */ public MetadataProperties getMetadataProperties() { return this.metadataProperties; } /** * @param metadataProperties * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withMetadataProperties(MetadataProperties metadataProperties) { setMetadataProperties(metadataProperties); return this; } /** ** Metrics for the model. *
* * @param modelMetrics * Metrics for the model. */ public void setModelMetrics(ModelMetrics modelMetrics) { this.modelMetrics = modelMetrics; } /** ** Metrics for the model. *
* * @return Metrics for the model. */ public ModelMetrics getModelMetrics() { return this.modelMetrics; } /** ** Metrics for the model. *
* * @param modelMetrics * Metrics for the model. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withModelMetrics(ModelMetrics modelMetrics) { setModelMetrics(modelMetrics); return this; } /** ** The last time that the model package was modified. *
* * @param lastModifiedTime * The last time that the model package was modified. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** ** The last time that the model package was modified. *
* * @return The last time that the model package was modified. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** ** The last time that the model package was modified. *
* * @param lastModifiedTime * The last time that the model package was modified. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** * @param lastModifiedBy */ public void setLastModifiedBy(UserContext lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } /** * @return */ public UserContext getLastModifiedBy() { return this.lastModifiedBy; } /** * @param lastModifiedBy * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withLastModifiedBy(UserContext lastModifiedBy) { setLastModifiedBy(lastModifiedBy); return this; } /** ** A description provided for the model approval. *
* * @param approvalDescription * A description provided for the model approval. */ public void setApprovalDescription(String approvalDescription) { this.approvalDescription = approvalDescription; } /** ** A description provided for the model approval. *
* * @return A description provided for the model approval. */ public String getApprovalDescription() { return this.approvalDescription; } /** ** A description provided for the model approval. *
* * @param approvalDescription * A description provided for the model approval. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withApprovalDescription(String approvalDescription) { setApprovalDescription(approvalDescription); return this; } /** ** The metadata properties associated with the model package versions. *
* * @return The metadata properties associated with the model package versions. */ public java.util.Map* The metadata properties associated with the model package versions. *
* * @param customerMetadataProperties * The metadata properties associated with the model package versions. */ public void setCustomerMetadataProperties(java.util.Map* The metadata properties associated with the model package versions. *
* * @param customerMetadataProperties * The metadata properties associated with the model package versions. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withCustomerMetadataProperties(java.util.Map* Represents the drift check baselines that can be used when the model monitor is set using the model package. For * more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer * Guide. *
* * @param driftCheckBaselines * Represents the drift check baselines that can be used when the model monitor is set using the model * package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker * Developer Guide. */ public void setDriftCheckBaselines(DriftCheckBaselines driftCheckBaselines) { this.driftCheckBaselines = driftCheckBaselines; } /** ** Represents the drift check baselines that can be used when the model monitor is set using the model package. For * more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer * Guide. *
* * @return Represents the drift check baselines that can be used when the model monitor is set using the model * package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker * Developer Guide. */ public DriftCheckBaselines getDriftCheckBaselines() { return this.driftCheckBaselines; } /** ** Represents the drift check baselines that can be used when the model monitor is set using the model package. For * more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer * Guide. *
* * @param driftCheckBaselines * Represents the drift check baselines that can be used when the model monitor is set using the model * package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker * Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withDriftCheckBaselines(DriftCheckBaselines driftCheckBaselines) { setDriftCheckBaselines(driftCheckBaselines); return this; } /** ** The machine learning domain of the model package you specified. Common machine learning domains include computer * vision and natural language processing. *
* * @param domain * The machine learning domain of the model package you specified. Common machine learning domains include * computer vision and natural language processing. */ public void setDomain(String domain) { this.domain = domain; } /** ** The machine learning domain of the model package you specified. Common machine learning domains include computer * vision and natural language processing. *
* * @return The machine learning domain of the model package you specified. Common machine learning domains include * computer vision and natural language processing. */ public String getDomain() { return this.domain; } /** ** The machine learning domain of the model package you specified. Common machine learning domains include computer * vision and natural language processing. *
* * @param domain * The machine learning domain of the model package you specified. Common machine learning domains include * computer vision and natural language processing. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withDomain(String domain) { setDomain(domain); return this; } /** ** The machine learning task you specified that your model package accomplishes. Common machine learning tasks * include object detection and image classification. *
* * @param task * The machine learning task you specified that your model package accomplishes. Common machine learning * tasks include object detection and image classification. */ public void setTask(String task) { this.task = task; } /** ** The machine learning task you specified that your model package accomplishes. Common machine learning tasks * include object detection and image classification. *
* * @return The machine learning task you specified that your model package accomplishes. Common machine learning * tasks include object detection and image classification. */ public String getTask() { return this.task; } /** ** The machine learning task you specified that your model package accomplishes. Common machine learning tasks * include object detection and image classification. *
* * @param task * The machine learning task you specified that your model package accomplishes. Common machine learning * tasks include object detection and image classification. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withTask(String task) { setTask(task); return this; } /** ** The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a * single gzip compressed tar archive (.tar.gz suffix). *
* * @param samplePayloadUrl * The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points * to a single gzip compressed tar archive (.tar.gz suffix). */ public void setSamplePayloadUrl(String samplePayloadUrl) { this.samplePayloadUrl = samplePayloadUrl; } /** ** The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a * single gzip compressed tar archive (.tar.gz suffix). *
* * @return The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points * to a single gzip compressed tar archive (.tar.gz suffix). */ public String getSamplePayloadUrl() { return this.samplePayloadUrl; } /** ** The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a * single gzip compressed tar archive (.tar.gz suffix). *
* * @param samplePayloadUrl * The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points * to a single gzip compressed tar archive (.tar.gz suffix). * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withSamplePayloadUrl(String samplePayloadUrl) { setSamplePayloadUrl(samplePayloadUrl); return this; } /** ** An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo * to store the compiled artifacts. *
* * @return An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with * SageMaker Neo to store the compiled artifacts. */ public java.util.List* An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo * to store the compiled artifacts. *
* * @param additionalInferenceSpecifications * An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with * SageMaker Neo to store the compiled artifacts. */ public void setAdditionalInferenceSpecifications(java.util.Collection* An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo * to store the compiled artifacts. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAdditionalInferenceSpecifications(java.util.Collection)} or * {@link #withAdditionalInferenceSpecifications(java.util.Collection)} if you want to override the existing values. *
* * @param additionalInferenceSpecifications * An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with * SageMaker Neo to store the compiled artifacts. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecifications) { if (this.additionalInferenceSpecifications == null) { setAdditionalInferenceSpecifications(new java.util.ArrayList* An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo * to store the compiled artifacts. *
* * @param additionalInferenceSpecifications * An array of additional Inference Specification objects. Each additional Inference Specification specifies * artifacts based on this model package that can be used on inference endpoints. Generally used with * SageMaker Neo to store the compiled artifacts. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeModelPackageResult withAdditionalInferenceSpecifications( java.util.Collection