@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelPackage extends Object implements Serializable, Cloneable, StructuredPojo
A versioned model that can be deployed for SageMaker inference.
Constructor and Description |
---|
ModelPackage() |
Modifier and Type | Method and Description |
---|---|
ModelPackage |
clone() |
boolean |
equals(Object obj) |
String |
getApprovalDescription()
A description provided when the model approval is set.
|
Boolean |
getCertifyForMarketplace()
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace.
|
UserContext |
getCreatedBy() |
Date |
getCreationTime()
The time that the model package was created.
|
InferenceSpecification |
getInferenceSpecification() |
UserContext |
getLastModifiedBy() |
Date |
getLastModifiedTime()
The last time the model package was modified.
|
MetadataProperties |
getMetadataProperties() |
String |
getModelApprovalStatus()
The approval status of the model.
|
ModelMetrics |
getModelMetrics()
Metrics for the model.
|
String |
getModelPackageArn()
The Amazon Resource Name (ARN) of the model package.
|
String |
getModelPackageDescription()
The description of the model package.
|
String |
getModelPackageGroupName()
The model group to which the model belongs.
|
String |
getModelPackageName()
The name of the model.
|
String |
getModelPackageStatus()
The status of the model package.
|
ModelPackageStatusDetails |
getModelPackageStatusDetails() |
Integer |
getModelPackageVersion()
The version number of a versioned model.
|
SourceAlgorithmSpecification |
getSourceAlgorithmSpecification() |
List<Tag> |
getTags()
A list of the tags associated with the model package.
|
ModelPackageValidationSpecification |
getValidationSpecification() |
int |
hashCode() |
Boolean |
isCertifyForMarketplace()
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApprovalDescription(String approvalDescription)
A description provided when the model approval is set.
|
void |
setCertifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace.
|
void |
setCreatedBy(UserContext createdBy) |
void |
setCreationTime(Date creationTime)
The time that the model package was created.
|
void |
setInferenceSpecification(InferenceSpecification inferenceSpecification) |
void |
setLastModifiedBy(UserContext lastModifiedBy) |
void |
setLastModifiedTime(Date lastModifiedTime)
The last time the model package was modified.
|
void |
setMetadataProperties(MetadataProperties metadataProperties) |
void |
setModelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
|
void |
setModelMetrics(ModelMetrics modelMetrics)
Metrics for the model.
|
void |
setModelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
|
void |
setModelPackageDescription(String modelPackageDescription)
The description of the model package.
|
void |
setModelPackageGroupName(String modelPackageGroupName)
The model group to which the model belongs.
|
void |
setModelPackageName(String modelPackageName)
The name of the model.
|
void |
setModelPackageStatus(String modelPackageStatus)
The status of the model package.
|
void |
setModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails) |
void |
setModelPackageVersion(Integer modelPackageVersion)
The version number of a versioned model.
|
void |
setSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification) |
void |
setTags(Collection<Tag> tags)
A list of the tags associated with the model package.
|
void |
setValidationSpecification(ModelPackageValidationSpecification validationSpecification) |
String |
toString()
Returns a string representation of this object.
|
ModelPackage |
withApprovalDescription(String approvalDescription)
A description provided when the model approval is set.
|
ModelPackage |
withCertifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace.
|
ModelPackage |
withCreatedBy(UserContext createdBy) |
ModelPackage |
withCreationTime(Date creationTime)
The time that the model package was created.
|
ModelPackage |
withInferenceSpecification(InferenceSpecification inferenceSpecification) |
ModelPackage |
withLastModifiedBy(UserContext lastModifiedBy) |
ModelPackage |
withLastModifiedTime(Date lastModifiedTime)
The last time the model package was modified.
|
ModelPackage |
withMetadataProperties(MetadataProperties metadataProperties) |
ModelPackage |
withModelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model.
|
ModelPackage |
withModelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
|
ModelPackage |
withModelMetrics(ModelMetrics modelMetrics)
Metrics for the model.
|
ModelPackage |
withModelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
|
ModelPackage |
withModelPackageDescription(String modelPackageDescription)
The description of the model package.
|
ModelPackage |
withModelPackageGroupName(String modelPackageGroupName)
The model group to which the model belongs.
|
ModelPackage |
withModelPackageName(String modelPackageName)
The name of the model.
|
ModelPackage |
withModelPackageStatus(ModelPackageStatus modelPackageStatus)
The status of the model package.
|
ModelPackage |
withModelPackageStatus(String modelPackageStatus)
The status of the model package.
|
ModelPackage |
withModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails) |
ModelPackage |
withModelPackageVersion(Integer modelPackageVersion)
The version number of a versioned model.
|
ModelPackage |
withSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification) |
ModelPackage |
withTags(Collection<Tag> tags)
A list of the tags associated with the model package.
|
ModelPackage |
withTags(Tag... tags)
A list of the tags associated with the model package.
|
ModelPackage |
withValidationSpecification(ModelPackageValidationSpecification validationSpecification) |
public void setModelPackageName(String modelPackageName)
The name of the model.
modelPackageName
- The name of the model.public String getModelPackageName()
The name of the model.
public ModelPackage withModelPackageName(String modelPackageName)
The name of the model.
modelPackageName
- The name of the model.public void setModelPackageGroupName(String modelPackageGroupName)
The model group to which the model belongs.
modelPackageGroupName
- The model group to which the model belongs.public String getModelPackageGroupName()
The model group to which the model belongs.
public ModelPackage withModelPackageGroupName(String modelPackageGroupName)
The model group to which the model belongs.
modelPackageGroupName
- The model group to which the model belongs.public void setModelPackageVersion(Integer modelPackageVersion)
The version number of a versioned model.
modelPackageVersion
- The version number of a versioned model.public Integer getModelPackageVersion()
The version number of a versioned model.
public ModelPackage withModelPackageVersion(Integer modelPackageVersion)
The version number of a versioned model.
modelPackageVersion
- The version number of a versioned model.public void setModelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
modelPackageArn
- The Amazon Resource Name (ARN) of the model package.public String getModelPackageArn()
The Amazon Resource Name (ARN) of the model package.
public ModelPackage withModelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
modelPackageArn
- The Amazon Resource Name (ARN) of the model package.public void setModelPackageDescription(String modelPackageDescription)
The description of the model package.
modelPackageDescription
- The description of the model package.public String getModelPackageDescription()
The description of the model package.
public ModelPackage withModelPackageDescription(String modelPackageDescription)
The description of the model package.
modelPackageDescription
- The description of the model package.public void setCreationTime(Date creationTime)
The time that the model package was created.
creationTime
- The time that the model package was created.public Date getCreationTime()
The time that the model package was created.
public ModelPackage withCreationTime(Date creationTime)
The time that the model package was created.
creationTime
- The time that the model package was created.public void setInferenceSpecification(InferenceSpecification inferenceSpecification)
inferenceSpecification
- public InferenceSpecification getInferenceSpecification()
public ModelPackage withInferenceSpecification(InferenceSpecification inferenceSpecification)
inferenceSpecification
- public void setSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
sourceAlgorithmSpecification
- public SourceAlgorithmSpecification getSourceAlgorithmSpecification()
public ModelPackage withSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
sourceAlgorithmSpecification
- public void setValidationSpecification(ModelPackageValidationSpecification validationSpecification)
validationSpecification
- public ModelPackageValidationSpecification getValidationSpecification()
public ModelPackage withValidationSpecification(ModelPackageValidationSpecification validationSpecification)
validationSpecification
- public void setModelPackageStatus(String modelPackageStatus)
The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
modelPackageStatus
- The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
ModelPackageStatus
public String getModelPackageStatus()
The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
ModelPackageStatus
public ModelPackage withModelPackageStatus(String modelPackageStatus)
The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
modelPackageStatus
- The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
ModelPackageStatus
public ModelPackage withModelPackageStatus(ModelPackageStatus modelPackageStatus)
The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
modelPackageStatus
- The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
ModelPackageStatus
public void setModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)
modelPackageStatusDetails
- public ModelPackageStatusDetails getModelPackageStatusDetails()
public ModelPackage withModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)
modelPackageStatusDetails
- public void setCertifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.
certifyForMarketplace
- Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For
information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or
Model Package on Amazon Web Services Marketplace.public Boolean getCertifyForMarketplace()
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.
public ModelPackage withCertifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.
certifyForMarketplace
- Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For
information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or
Model Package on Amazon Web Services Marketplace.public Boolean isCertifyForMarketplace()
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.
public void setModelApprovalStatus(String modelApprovalStatus)
The approval status of the model. This can be one of the following values.
APPROVED
- The model is approved
REJECTED
- 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.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
ModelApprovalStatus
public String getModelApprovalStatus()
The approval status of the model. This can be one of the following values.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
ModelApprovalStatus
public ModelPackage withModelApprovalStatus(String modelApprovalStatus)
The approval status of the model. This can be one of the following values.
APPROVED
- The model is approved
REJECTED
- 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.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
ModelApprovalStatus
public ModelPackage withModelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model. This can be one of the following values.
APPROVED
- The model is approved
REJECTED
- 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.
APPROVED
- The model is approved
REJECTED
- The model is rejected.
PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
ModelApprovalStatus
public void setCreatedBy(UserContext createdBy)
createdBy
- public UserContext getCreatedBy()
public ModelPackage withCreatedBy(UserContext createdBy)
createdBy
- public void setMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public MetadataProperties getMetadataProperties()
public ModelPackage withMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public void setModelMetrics(ModelMetrics modelMetrics)
Metrics for the model.
modelMetrics
- Metrics for the model.public ModelMetrics getModelMetrics()
Metrics for the model.
public ModelPackage withModelMetrics(ModelMetrics modelMetrics)
Metrics for the model.
modelMetrics
- Metrics for the model.public void setLastModifiedTime(Date lastModifiedTime)
The last time the model package was modified.
lastModifiedTime
- The last time the model package was modified.public Date getLastModifiedTime()
The last time the model package was modified.
public ModelPackage withLastModifiedTime(Date lastModifiedTime)
The last time the model package was modified.
lastModifiedTime
- The last time the model package was modified.public void setLastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- public UserContext getLastModifiedBy()
public ModelPackage withLastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- public void setApprovalDescription(String approvalDescription)
A description provided when the model approval is set.
approvalDescription
- A description provided when the model approval is set.public String getApprovalDescription()
A description provided when the model approval is set.
public ModelPackage withApprovalDescription(String approvalDescription)
A description provided when the model approval is set.
approvalDescription
- A description provided when the model approval is set.public List<Tag> getTags()
A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
public void setTags(Collection<Tag> tags)
A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
tags
- A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference Guide.public ModelPackage withTags(Tag... tags)
A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference Guide.public ModelPackage withTags(Collection<Tag> tags)
A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
tags
- A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference Guide.public String toString()
toString
in class Object
Object.toString()
public ModelPackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.