Class CfnModelCard.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelCard.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCard>
- Enclosing class:
CfnModelCard
@Stability(Stable)
public static final class CfnModelCard.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCard>
A fluent builder for
CfnModelCard.-
Method Summary
Modifier and TypeMethodDescriptionbuild()content(IResolvable content) The content of the model card.content(CfnModelCard.ContentProperty content) The content of the model card.static CfnModelCard.BuildercreatedBy(IResolvable createdBy) Information about the user who created or modified one or more of the following:.createdBy(CfnModelCard.UserContextProperty createdBy) Information about the user who created or modified one or more of the following:.lastModifiedBy(IResolvable lastModifiedBy) Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.lastModifiedBy(CfnModelCard.UserContextProperty lastModifiedBy) Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.modelCardName(String modelCardName) The unique name of the model card.modelCardStatus(String modelCardStatus) The approval status of the model card within your organization.securityConfig(IResolvable securityConfig) The security configuration used to protect model card data.securityConfig(CfnModelCard.SecurityConfigProperty securityConfig) The security configuration used to protect model card data.Key-value pairs used to manage metadata for the model card.
-
Method Details
-
create
@Stability(Stable) public static CfnModelCard.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnModelCard.Builder.
-
content
The content of the model card.Content uses the model card JSON schema .
- Parameters:
content- The content of the model card. This parameter is required.- Returns:
this- See Also:
-
content
The content of the model card.Content uses the model card JSON schema .
- Parameters:
content- The content of the model card. This parameter is required.- Returns:
this- See Also:
-
modelCardName
The unique name of the model card.- Parameters:
modelCardName- The unique name of the model card. This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
modelCardStatus- The approval status of the model card within your organization. This parameter is required.- Returns:
this- See Also:
-
createdBy
Information about the user who created or modified one or more of the following:.- Experiment
- Trial
- Trial component
- Lineage group
- Project
- Model Card
- Parameters:
createdBy- Information about the user who created or modified one or more of the following:. This parameter is required.- Returns:
this- See Also:
-
createdBy
@Stability(Stable) public CfnModelCard.Builder createdBy(CfnModelCard.UserContextProperty createdBy) Information about the user who created or modified one or more of the following:.- Experiment
- Trial
- Trial component
- Lineage group
- Project
- Model Card
- Parameters:
createdBy- Information about the user who created or modified one or more of the following:. This parameter is required.- Returns:
this- See Also:
-
lastModifiedBy
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.- Parameters:
lastModifiedBy- Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card. This parameter is required.- Returns:
this- See Also:
-
lastModifiedBy
@Stability(Stable) public CfnModelCard.Builder lastModifiedBy(CfnModelCard.UserContextProperty lastModifiedBy) Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.- Parameters:
lastModifiedBy- Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card. This parameter is required.- Returns:
this- See Also:
-
securityConfig
The security configuration used to protect model card data.- Parameters:
securityConfig- The security configuration used to protect model card data. This parameter is required.- Returns:
this- See Also:
-
securityConfig
@Stability(Stable) public CfnModelCard.Builder securityConfig(CfnModelCard.SecurityConfigProperty securityConfig) The security configuration used to protect model card data.- Parameters:
securityConfig- The security configuration used to protect model card data. This parameter is required.- Returns:
this- See Also:
-
tags
Key-value pairs used to manage metadata for the model card.- Parameters:
tags- Key-value pairs used to manage metadata for the model card. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCard>- Returns:
- a newly built instance of
CfnModelCard.
-