Interface ModelCard.Builder

    • Method Detail

      • modelCardArn

        ModelCard.Builder modelCardArn​(String modelCardArn)

        The Amazon Resource Name (ARN) of the model card.

        Parameters:
        modelCardArn - The Amazon Resource Name (ARN) of the model card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelCardName

        ModelCard.Builder modelCardName​(String modelCardName)

        The unique name of the model card.

        Parameters:
        modelCardName - The unique name of the model card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelCardVersion

        ModelCard.Builder modelCardVersion​(Integer modelCardVersion)

        The version of the model card.

        Parameters:
        modelCardVersion - The version of the model card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        ModelCard.Builder content​(String content)

        The content of the model card. Content uses the model card JSON schema and provided as a string.

        Parameters:
        content - The content of the model card. Content uses the model card JSON schema and provided as a string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelCardStatus

        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.

        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:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelCardStatus, ModelCardStatus
      • modelCardStatus

        ModelCard.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.

        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:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelCardStatus, ModelCardStatus
      • securityConfig

        ModelCard.Builder securityConfig​(ModelCardSecurityConfig securityConfig)

        The security configuration used to protect model card data.

        Parameters:
        securityConfig - The security configuration used to protect model card data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        ModelCard.Builder creationTime​(Instant creationTime)

        The date and time that the model card was created.

        Parameters:
        creationTime - The date and time that the model card was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        ModelCard.Builder createdBy​(UserContext createdBy)
        Sets the value of the CreatedBy property for this object.
        Parameters:
        createdBy - The new value for the CreatedBy property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTime

        ModelCard.Builder lastModifiedTime​(Instant lastModifiedTime)

        The date and time that the model card was last modified.

        Parameters:
        lastModifiedTime - The date and time that the model card was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedBy

        ModelCard.Builder lastModifiedBy​(UserContext lastModifiedBy)
        Sets the value of the LastModifiedBy property for this object.
        Parameters:
        lastModifiedBy - The new value for the LastModifiedBy property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ModelCard.Builder tags​(Collection<Tag> 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ModelCard.Builder tags​(Tag... 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        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 the Tag.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).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • modelId

        ModelCard.Builder modelId​(String modelId)

        The unique name (ID) of the model.

        Parameters:
        modelId - The unique name (ID) of the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • riskRating

        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.

        Parameters:
        riskRating - The risk rating of the model. Different organizations might have different criteria for model card risk ratings. For more information, see Risk ratings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelPackageGroupName

        ModelCard.Builder modelPackageGroupName​(String modelPackageGroupName)

        The model package group that contains the model package. Only relevant for model cards created for model packages in the Amazon SageMaker Model Registry.

        Parameters:
        modelPackageGroupName - The model package group that contains the model package. Only relevant for model cards created for model packages in the Amazon SageMaker Model Registry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.