@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelCard extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon SageMaker Model Card.
Constructor and Description |
---|
ModelCard() |
Modifier and Type | Method and Description |
---|---|
ModelCard |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The content of the model card.
|
UserContext |
getCreatedBy() |
Date |
getCreationTime()
The date and time that the model card was created.
|
UserContext |
getLastModifiedBy() |
Date |
getLastModifiedTime()
The date and time that the model card was last modified.
|
String |
getModelCardArn()
The Amazon Resource Name (ARN) of the model card.
|
String |
getModelCardName()
The unique name of the model card.
|
String |
getModelCardStatus()
The approval status of the model card within your organization.
|
Integer |
getModelCardVersion()
The version of the model card.
|
String |
getModelId()
The unique name (ID) of the model.
|
String |
getRiskRating()
The risk rating of the model.
|
ModelCardSecurityConfig |
getSecurityConfig()
The security configuration used to protect model card data.
|
List<Tag> |
getTags()
Key-value pairs used to manage metadata for the model card.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContent(String content)
The content of the model card.
|
void |
setCreatedBy(UserContext createdBy) |
void |
setCreationTime(Date creationTime)
The date and time that the model card was created.
|
void |
setLastModifiedBy(UserContext lastModifiedBy) |
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time that the model card was last modified.
|
void |
setModelCardArn(String modelCardArn)
The Amazon Resource Name (ARN) of the model card.
|
void |
setModelCardName(String modelCardName)
The unique name of the model card.
|
void |
setModelCardStatus(String modelCardStatus)
The approval status of the model card within your organization.
|
void |
setModelCardVersion(Integer modelCardVersion)
The version of the model card.
|
void |
setModelId(String modelId)
The unique name (ID) of the model.
|
void |
setRiskRating(String riskRating)
The risk rating of the model.
|
void |
setSecurityConfig(ModelCardSecurityConfig securityConfig)
The security configuration used to protect model card data.
|
void |
setTags(Collection<Tag> tags)
Key-value pairs used to manage metadata for the model card.
|
String |
toString()
Returns a string representation of this object.
|
ModelCard |
withContent(String content)
The content of the model card.
|
ModelCard |
withCreatedBy(UserContext createdBy) |
ModelCard |
withCreationTime(Date creationTime)
The date and time that the model card was created.
|
ModelCard |
withLastModifiedBy(UserContext lastModifiedBy) |
ModelCard |
withLastModifiedTime(Date lastModifiedTime)
The date and time that the model card was last modified.
|
ModelCard |
withModelCardArn(String modelCardArn)
The Amazon Resource Name (ARN) of the model card.
|
ModelCard |
withModelCardName(String modelCardName)
The unique name of the model card.
|
ModelCard |
withModelCardStatus(ModelCardStatus modelCardStatus)
The approval status of the model card within your organization.
|
ModelCard |
withModelCardStatus(String modelCardStatus)
The approval status of the model card within your organization.
|
ModelCard |
withModelCardVersion(Integer modelCardVersion)
The version of the model card.
|
ModelCard |
withModelId(String modelId)
The unique name (ID) of the model.
|
ModelCard |
withRiskRating(String riskRating)
The risk rating of the model.
|
ModelCard |
withSecurityConfig(ModelCardSecurityConfig securityConfig)
The security configuration used to protect model card data.
|
ModelCard |
withTags(Collection<Tag> tags)
Key-value pairs used to manage metadata for the model card.
|
ModelCard |
withTags(Tag... tags)
Key-value pairs used to manage metadata for the model card.
|
public void setModelCardArn(String modelCardArn)
The Amazon Resource Name (ARN) of the model card.
modelCardArn
- The Amazon Resource Name (ARN) of the model card.public String getModelCardArn()
The Amazon Resource Name (ARN) of the model card.
public ModelCard withModelCardArn(String modelCardArn)
The Amazon Resource Name (ARN) of the model card.
modelCardArn
- The Amazon Resource Name (ARN) of the model card.public void setModelCardName(String modelCardName)
The unique name of the model card.
modelCardName
- The unique name of the model card.public String getModelCardName()
The unique name of the model card.
public ModelCard withModelCardName(String modelCardName)
The unique name of the model card.
modelCardName
- The unique name of the model card.public void setModelCardVersion(Integer modelCardVersion)
The version of the model card.
modelCardVersion
- The version of the model card.public Integer getModelCardVersion()
The version of the model card.
public ModelCard withModelCardVersion(Integer modelCardVersion)
The version of the model card.
modelCardVersion
- The version of the model card.public void setContent(String content)
The content of the model card. Content uses the model card JSON schema and provided as a string.
content
- The content of the model card. Content uses the model card
JSON schema and provided as a string.public String getContent()
The content of the model card. Content uses the model card JSON schema and provided as a string.
public ModelCard withContent(String content)
The content of the model card. Content uses the model card JSON schema and provided as a string.
content
- The content of the model card. Content uses the model card
JSON schema and provided as a string.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 should be made to the model card, but it can
still be exported.
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 should be made to the model card, but
it can still be exported.
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 should be made to the model card, but it can
still be exported.
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 should be made to the model card, but
it can still be exported.
ModelCardStatus
public ModelCard 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 should be made to the model card, but it can
still be exported.
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 should be made to the model card, but
it can still be exported.
ModelCardStatus
public ModelCard 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 should be made to the model card, but it can
still be exported.
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 should be made to the model card, but
it can still be exported.
ModelCardStatus
public void setSecurityConfig(ModelCardSecurityConfig securityConfig)
The security configuration used to protect model card data.
securityConfig
- The security configuration used to protect model card data.public ModelCardSecurityConfig getSecurityConfig()
The security configuration used to protect model card data.
public ModelCard withSecurityConfig(ModelCardSecurityConfig securityConfig)
The security configuration used to protect model card data.
securityConfig
- The security configuration used to protect model card data.public void setCreationTime(Date creationTime)
The date and time that the model card was created.
creationTime
- The date and time that the model card was created.public Date getCreationTime()
The date and time that the model card was created.
public ModelCard withCreationTime(Date creationTime)
The date and time that the model card was created.
creationTime
- The date and time that the model card was created.public void setCreatedBy(UserContext createdBy)
createdBy
- public UserContext getCreatedBy()
public ModelCard withCreatedBy(UserContext createdBy)
createdBy
- public void setLastModifiedTime(Date lastModifiedTime)
The date and time that the model card was last modified.
lastModifiedTime
- The date and time that the model card was last modified.public Date getLastModifiedTime()
The date and time that the model card was last modified.
public ModelCard withLastModifiedTime(Date lastModifiedTime)
The date and time that the model card was last modified.
lastModifiedTime
- The date and time that the model card was last modified.public void setLastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- public UserContext getLastModifiedBy()
public ModelCard withLastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- public List<Tag> getTags()
Key-value pairs used to manage metadata for the model card.
public void setTags(Collection<Tag> tags)
Key-value pairs used to manage metadata for the model card.
tags
- Key-value pairs used to manage metadata for the model card.public ModelCard withTags(Tag... tags)
Key-value pairs used to manage metadata for the model card.
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
- Key-value pairs used to manage metadata for the model card.public ModelCard withTags(Collection<Tag> tags)
Key-value pairs used to manage metadata for the model card.
tags
- Key-value pairs used to manage metadata for the model card.public void setModelId(String modelId)
The unique name (ID) of the model.
modelId
- The unique name (ID) of the model.public String getModelId()
The unique name (ID) of the model.
public ModelCard withModelId(String modelId)
The unique name (ID) of the model.
modelId
- The unique name (ID) of the model.public void setRiskRating(String riskRating)
The risk rating of the model. Different organizations might have different criteria for model card risk ratings. For more information, see Risk ratings.
riskRating
- The risk rating of the model. Different organizations might have different criteria for model card risk
ratings. For more information, see Risk ratings.public String getRiskRating()
The risk rating of the model. Different organizations might have different criteria for model card risk ratings. For more information, see Risk ratings.
public ModelCard withRiskRating(String riskRating)
The risk rating of the model. Different organizations might have different criteria for model card risk ratings. For more information, see Risk ratings.
riskRating
- The risk rating of the model. Different organizations might have different criteria for model card risk
ratings. For more information, see Risk ratings.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.