Interface DescribeModelCardResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeModelCardResponse.Builder,DescribeModelCardResponse>, SageMakerResponse.Builder, SdkBuilder<DescribeModelCardResponse.Builder,DescribeModelCardResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeModelCardResponse

public static interface DescribeModelCardResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeModelCardResponse.Builder,DescribeModelCardResponse>
  • Method Details

    • modelCardArn

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

      DescribeModelCardResponse.Builder modelCardName(String modelCardName)

      The name of the model card.

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

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

      The content of the model card.

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

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

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

      The security configuration used to protect model card content.

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

      The security configuration used to protect model card content.

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

      DescribeModelCardResponse.Builder creationTime(Instant creationTime)

      The date and time the model card was created.

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

      Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of the UserContext.Builder avoiding the need to create one manually via UserContext.builder().

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

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

      DescribeModelCardResponse.Builder lastModifiedTime(Instant lastModifiedTime)

      The date and time the model card was last modified.

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

      DescribeModelCardResponse.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.
    • lastModifiedBy

      default DescribeModelCardResponse.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
      Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of the UserContext.Builder avoiding the need to create one manually via UserContext.builder().

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

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

      DescribeModelCardResponse.Builder modelCardProcessingStatus(String modelCardProcessingStatus)

      The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps.

      • DeletePending: Model card deletion request received.

      • DeleteInProgress: Model card deletion is in progress.

      • ContentDeleted: Deleted model card content.

      • ExportJobsDeleted: Deleted all export jobs associated with the model card.

      • DeleteCompleted: Successfully deleted the model card.

      • DeleteFailed: The model card failed to delete.

      Parameters:
      modelCardProcessingStatus - The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps.

      • DeletePending: Model card deletion request received.

      • DeleteInProgress: Model card deletion is in progress.

      • ContentDeleted: Deleted model card content.

      • ExportJobsDeleted: Deleted all export jobs associated with the model card.

      • DeleteCompleted: Successfully deleted the model card.

      • DeleteFailed: The model card failed to delete.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • modelCardProcessingStatus

      DescribeModelCardResponse.Builder modelCardProcessingStatus(ModelCardProcessingStatus modelCardProcessingStatus)

      The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps.

      • DeletePending: Model card deletion request received.

      • DeleteInProgress: Model card deletion is in progress.

      • ContentDeleted: Deleted model card content.

      • ExportJobsDeleted: Deleted all export jobs associated with the model card.

      • DeleteCompleted: Successfully deleted the model card.

      • DeleteFailed: The model card failed to delete.

      Parameters:
      modelCardProcessingStatus - The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps.

      • DeletePending: Model card deletion request received.

      • DeleteInProgress: Model card deletion is in progress.

      • ContentDeleted: Deleted model card content.

      • ExportJobsDeleted: Deleted all export jobs associated with the model card.

      • DeleteCompleted: Successfully deleted the model card.

      • DeleteFailed: The model card failed to delete.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: