Class CfnModelCardMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelCardMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCardMixinProps>
- Enclosing interface:
CfnModelCardMixinProps
@Stability(Stable)
public static final class CfnModelCardMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCardMixinProps>
A builder for
CfnModelCardMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnModelCardMixinProps.getContent()content(IResolvable content) Sets the value ofCfnModelCardMixinProps.getContent()Sets the value ofCfnModelCardMixinProps.getCreatedBy()createdBy(IResolvable createdBy) Sets the value ofCfnModelCardMixinProps.getCreatedBy()lastModifiedBy(CfnModelCardPropsMixin.UserContextProperty lastModifiedBy) Sets the value ofCfnModelCardMixinProps.getLastModifiedBy()lastModifiedBy(IResolvable lastModifiedBy) Sets the value ofCfnModelCardMixinProps.getLastModifiedBy()modelCardName(String modelCardName) Sets the value ofCfnModelCardMixinProps.getModelCardName()modelCardStatus(String modelCardStatus) Sets the value ofCfnModelCardMixinProps.getModelCardStatus()securityConfig(CfnModelCardPropsMixin.SecurityConfigProperty securityConfig) Sets the value ofCfnModelCardMixinProps.getSecurityConfig()securityConfig(IResolvable securityConfig) Sets the value ofCfnModelCardMixinProps.getSecurityConfig()Sets the value ofCfnModelCardMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnModelCardMixinProps.getContent()- Parameters:
content- The content of the model card. Content uses the model card JSON schema .- Returns:
this
-
content
@Stability(Stable) public CfnModelCardMixinProps.Builder content(CfnModelCardPropsMixin.ContentProperty content) Sets the value ofCfnModelCardMixinProps.getContent()- Parameters:
content- The content of the model card. Content uses the model card JSON schema .- Returns:
this
-
createdBy
Sets the value ofCfnModelCardMixinProps.getCreatedBy()- Parameters:
createdBy- Information about the user who created or modified one or more of the following:.- Experiment
- Trial
- Trial component
- Lineage group
- Project
- Model Card
- Returns:
this
-
createdBy
@Stability(Stable) public CfnModelCardMixinProps.Builder createdBy(CfnModelCardPropsMixin.UserContextProperty createdBy) Sets the value ofCfnModelCardMixinProps.getCreatedBy()- Parameters:
createdBy- Information about the user who created or modified one or more of the following:.- Experiment
- Trial
- Trial component
- Lineage group
- Project
- Model Card
- Returns:
this
-
lastModifiedBy
Sets the value ofCfnModelCardMixinProps.getLastModifiedBy()- Parameters:
lastModifiedBy- Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.- Returns:
this
-
lastModifiedBy
@Stability(Stable) public CfnModelCardMixinProps.Builder lastModifiedBy(CfnModelCardPropsMixin.UserContextProperty lastModifiedBy) Sets the value ofCfnModelCardMixinProps.getLastModifiedBy()- Parameters:
lastModifiedBy- Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.- Returns:
this
-
modelCardName
Sets the value ofCfnModelCardMixinProps.getModelCardName()- Parameters:
modelCardName- The unique name of the model card.- Returns:
this
-
modelCardStatus
Sets the value ofCfnModelCardMixinProps.getModelCardStatus()- Parameters:
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.
- Returns:
this
-
securityConfig
Sets the value ofCfnModelCardMixinProps.getSecurityConfig()- Parameters:
securityConfig- The security configuration used to protect model card data.- Returns:
this
-
securityConfig
@Stability(Stable) public CfnModelCardMixinProps.Builder securityConfig(CfnModelCardPropsMixin.SecurityConfigProperty securityConfig) Sets the value ofCfnModelCardMixinProps.getSecurityConfig()- Parameters:
securityConfig- The security configuration used to protect model card data.- Returns:
this
-
tags
Sets the value ofCfnModelCardMixinProps.getTags()- Parameters:
tags- Key-value pairs used to manage metadata for the model card.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCardMixinProps>- Returns:
- a new instance of
CfnModelCardMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-