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 Details

    • create

      @Stability(Stable) public static CfnModelCard.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnModelCard.Builder.
    • content

      @Stability(Stable) public CfnModelCard.Builder content(IResolvable 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
    • content

      @Stability(Stable) public CfnModelCard.Builder content(CfnModelCard.ContentProperty 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
    • modelCardName

      @Stability(Stable) public CfnModelCard.Builder modelCardName(String modelCardName)
      The unique name of the model card.

      Parameters:
      modelCardName - The unique name of the model card. This parameter is required.
      Returns:
      this
    • modelCardStatus

      @Stability(Stable) public CfnModelCard.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.

      Parameters:
      modelCardStatus - The approval status of the model card within your organization. This parameter is required.
      Returns:
      this
    • createdBy

      @Stability(Stable) public CfnModelCard.Builder createdBy(IResolvable 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
    • 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
    • lastModifiedBy

      @Stability(Stable) public CfnModelCard.Builder lastModifiedBy(IResolvable lastModifiedBy)
      AWS::SageMaker::ModelCard.LastModifiedBy.

      Parameters:
      lastModifiedBy - AWS::SageMaker::ModelCard.LastModifiedBy. This parameter is required.
      Returns:
      this
    • lastModifiedBy

      @Stability(Stable) public CfnModelCard.Builder lastModifiedBy(CfnModelCard.UserContextProperty lastModifiedBy)
      AWS::SageMaker::ModelCard.LastModifiedBy.

      Parameters:
      lastModifiedBy - AWS::SageMaker::ModelCard.LastModifiedBy. This parameter is required.
      Returns:
      this
    • securityConfig

      @Stability(Stable) public CfnModelCard.Builder securityConfig(IResolvable 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
    • 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
    • tags

      @Stability(Stable) public CfnModelCard.Builder tags(List<? extends CfnTag> 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
    • build

      @Stability(Stable) public CfnModelCard build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnModelCard>
      Returns:
      a newly built instance of CfnModelCard.