@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelPackageModelCard extends Object implements Serializable, Cloneable, StructuredPojo
The model card associated with the model package. Since ModelPackageModelCard
is tied to a model
package, it is a specific usage of a model card and its schema is simplified compared to the schema of
ModelCard
. The ModelPackageModelCard
schema does not include
model_package_details
, and model_overview
is composed of the model_creator
and
model_artifact
properties. For more information about the model package model card schema, see Model package
model card schema. For more information about the model card associated with the model package, see View the Details of a Model
Version.
Constructor and Description |
---|
ModelPackageModelCard() |
Modifier and Type | Method and Description |
---|---|
ModelPackageModelCard |
clone() |
boolean |
equals(Object obj) |
String |
getModelCardContent()
The content of the model card.
|
String |
getModelCardStatus()
The approval status of the model card within your organization.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setModelCardContent(String modelCardContent)
The content of the model card.
|
void |
setModelCardStatus(String modelCardStatus)
The approval status of the model card within your organization.
|
String |
toString()
Returns a string representation of this object.
|
ModelPackageModelCard |
withModelCardContent(String modelCardContent)
The content of the model card.
|
ModelPackageModelCard |
withModelCardStatus(ModelCardStatus modelCardStatus)
The approval status of the model card within your organization.
|
ModelPackageModelCard |
withModelCardStatus(String modelCardStatus)
The approval status of the model card within your organization.
|
public void setModelCardContent(String modelCardContent)
The content of the model card. The content must follow the schema described in Model Package Model Card Schema.
modelCardContent
- The content of the model card. The content must follow the schema described in Model
Package Model Card Schema.public String getModelCardContent()
The content of the model card. The content must follow the schema described in Model Package Model Card Schema.
public ModelPackageModelCard withModelCardContent(String modelCardContent)
The content of the model card. The content must follow the schema described in Model Package Model Card Schema.
modelCardContent
- The content of the model card. The content must follow the schema described in Model
Package Model Card Schema.public void setModelCardStatus(String modelCardStatus)
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
Draft
: The model card is a work in progress.
PendingReview
: The model card is pending review.
Approved
: The model card is approved.
Archived
: The model card is archived. No more updates can be made to the model card content. If you
try to update the model card content, you will receive the message Model Card is in Archived state
.
modelCardStatus
- The approval status of the model card within your organization. Different organizations might have
different criteria for model card review and approval.
Draft
: The model card is a work in progress.
PendingReview
: The model card is pending review.
Approved
: The model card is approved.
Archived
: The model card is archived. No more updates can be made to the model card content.
If you try to update the model card content, you will receive the message
Model Card is in Archived state
.
ModelCardStatus
public String getModelCardStatus()
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
Draft
: The model card is a work in progress.
PendingReview
: The model card is pending review.
Approved
: The model card is approved.
Archived
: The model card is archived. No more updates can be made to the model card content. If you
try to update the model card content, you will receive the message Model Card is in Archived state
.
Draft
: The model card is a work in progress.
PendingReview
: The model card is pending review.
Approved
: The model card is approved.
Archived
: The model card is archived. No more updates can be made to the model card content.
If you try to update the model card content, you will receive the message
Model Card is in Archived state
.
ModelCardStatus
public ModelPackageModelCard withModelCardStatus(String modelCardStatus)
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
Draft
: The model card is a work in progress.
PendingReview
: The model card is pending review.
Approved
: The model card is approved.
Archived
: The model card is archived. No more updates can be made to the model card content. If you
try to update the model card content, you will receive the message Model Card is in Archived state
.
modelCardStatus
- The approval status of the model card within your organization. Different organizations might have
different criteria for model card review and approval.
Draft
: The model card is a work in progress.
PendingReview
: The model card is pending review.
Approved
: The model card is approved.
Archived
: The model card is archived. No more updates can be made to the model card content.
If you try to update the model card content, you will receive the message
Model Card is in Archived state
.
ModelCardStatus
public ModelPackageModelCard withModelCardStatus(ModelCardStatus modelCardStatus)
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
Draft
: The model card is a work in progress.
PendingReview
: The model card is pending review.
Approved
: The model card is approved.
Archived
: The model card is archived. No more updates can be made to the model card content. If you
try to update the model card content, you will receive the message Model Card is in Archived state
.
modelCardStatus
- The approval status of the model card within your organization. Different organizations might have
different criteria for model card review and approval.
Draft
: The model card is a work in progress.
PendingReview
: The model card is pending review.
Approved
: The model card is approved.
Archived
: The model card is archived. No more updates can be made to the model card content.
If you try to update the model card content, you will receive the message
Model Card is in Archived state
.
ModelCardStatus
public String toString()
toString
in class Object
Object.toString()
public ModelPackageModelCard clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.