Interface CreateModelCardRequest.Builder

    • Method Detail

      • modelCardName

        CreateModelCardRequest.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.
      • securityConfig

        CreateModelCardRequest.Builder securityConfig​(ModelCardSecurityConfig securityConfig)

        An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.

        Parameters:
        securityConfig - An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelCardStatus

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

        CreateModelCardRequest.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
      • tags

        CreateModelCardRequest.Builder tags​(Collection<Tag> tags)

        Key-value pairs used to manage metadata for model cards.

        Parameters:
        tags - Key-value pairs used to manage metadata for model cards.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateModelCardRequest.Builder tags​(Tag... tags)

        Key-value pairs used to manage metadata for model cards.

        Parameters:
        tags - Key-value pairs used to manage metadata for model cards.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateModelCardRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Key-value pairs used to manage metadata for model cards.

        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)