public static interface ModelCard.Builder extends SdkPojo, CopyableBuilder<ModelCard.Builder,ModelCard>
| Modifier and Type | Method and Description |
|---|---|
ModelCard.Builder |
content(String content)
The content of the model card.
|
default ModelCard.Builder |
createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object.
|
ModelCard.Builder |
createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.
|
ModelCard.Builder |
creationTime(Instant creationTime)
The date and time that the model card was created.
|
default ModelCard.Builder |
lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.
|
ModelCard.Builder |
lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.
|
ModelCard.Builder |
lastModifiedTime(Instant lastModifiedTime)
The date and time that the model card was last modified.
|
ModelCard.Builder |
modelCardArn(String modelCardArn)
The Amazon Resource Name (ARN) of the model card.
|
ModelCard.Builder |
modelCardName(String modelCardName)
The unique name of the model card.
|
ModelCard.Builder |
modelCardStatus(ModelCardStatus modelCardStatus)
The approval status of the model card within your organization.
|
ModelCard.Builder |
modelCardStatus(String modelCardStatus)
The approval status of the model card within your organization.
|
ModelCard.Builder |
modelCardVersion(Integer modelCardVersion)
The version of the model card.
|
ModelCard.Builder |
modelId(String modelId)
The unique name (ID) of the model.
|
ModelCard.Builder |
riskRating(String riskRating)
The risk rating of the model.
|
default ModelCard.Builder |
securityConfig(Consumer<ModelCardSecurityConfig.Builder> securityConfig)
The security configuration used to protect model card data.
|
ModelCard.Builder |
securityConfig(ModelCardSecurityConfig securityConfig)
The security configuration used to protect model card data.
|
ModelCard.Builder |
tags(Collection<Tag> tags)
Key-value pairs used to manage metadata for the model card.
|
ModelCard.Builder |
tags(Consumer<Tag.Builder>... tags)
Key-value pairs used to manage metadata for the model card.
|
ModelCard.Builder |
tags(Tag... tags)
Key-value pairs used to manage metadata for the model card.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildModelCard.Builder modelCardArn(String modelCardArn)
The Amazon Resource Name (ARN) of the model card.
modelCardArn - The Amazon Resource Name (ARN) of the model card.ModelCard.Builder modelCardName(String modelCardName)
The unique name of the model card.
modelCardName - The unique name of the model card.ModelCard.Builder modelCardVersion(Integer modelCardVersion)
The version of the model card.
modelCardVersion - The version of the model card.ModelCard.Builder content(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.ModelCard.Builder modelCardStatus(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,
ModelCardStatusModelCard.Builder modelCardStatus(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,
ModelCardStatusModelCard.Builder securityConfig(ModelCardSecurityConfig securityConfig)
The security configuration used to protect model card data.
securityConfig - The security configuration used to protect model card data.default ModelCard.Builder securityConfig(Consumer<ModelCardSecurityConfig.Builder> securityConfig)
The security configuration used to protect model card data.
This is a convenience method that creates an instance of theModelCardSecurityConfig.Builder avoiding
the need to create one manually via ModelCardSecurityConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to securityConfig(ModelCardSecurityConfig).
securityConfig - a consumer that will call methods on ModelCardSecurityConfig.BuildersecurityConfig(ModelCardSecurityConfig)ModelCard.Builder creationTime(Instant creationTime)
The date and time that the model card was created.
creationTime - The date and time that the model card was created.ModelCard.Builder createdBy(UserContext createdBy)
createdBy - The new value for the CreatedBy property for this object.default ModelCard.Builder createdBy(Consumer<UserContext.Builder> createdBy)
UserContext.Builder avoiding the need to
create one manually via UserContext.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to createdBy(UserContext).
createdBy - a consumer that will call methods on UserContext.BuildercreatedBy(UserContext)ModelCard.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time that the model card was last modified.
lastModifiedTime - The date and time that the model card was last modified.ModelCard.Builder lastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy - The new value for the LastModifiedBy property for this object.default ModelCard.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
UserContext.Builder avoiding the need to
create one manually via UserContext.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to lastModifiedBy(UserContext).
lastModifiedBy - a consumer that will call methods on UserContext.BuilderlastModifiedBy(UserContext)ModelCard.Builder tags(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.ModelCard.Builder tags(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.ModelCard.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs used to manage metadata for the model card.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) ModelCard.Builder modelId(String modelId)
The unique name (ID) of the model.
modelId - The unique name (ID) of the model.ModelCard.Builder riskRating(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.Copyright © 2022. All rights reserved.