Interface CreateModelCardRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateModelCardRequest.Builder,CreateModelCardRequest>, SageMakerRequest.Builder, SdkBuilder<CreateModelCardRequest.Builder,CreateModelCardRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateModelCardRequest

public static interface CreateModelCardRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateModelCardRequest.Builder,CreateModelCardRequest>
  • Method Details

    • 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

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

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

      This is a convenience method that creates an instance of the ModelCardSecurityConfig.Builder avoiding the need to create one manually via ModelCardSecurityConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to securityConfig(ModelCardSecurityConfig).

      Parameters:
      securityConfig - a consumer that will call methods on ModelCardSecurityConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • content

      The content of the model card. Content must be in model card JSON schema and provided as a string.

      Parameters:
      content - The content of the model card. Content must be in 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

      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

      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:
    • 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

      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

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

      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:
    • overrideConfiguration

      CreateModelCardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.