JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.sagemaker.model

Class DescribeModelPackageResult

    • Constructor Detail

      • DescribeModelPackageResult

        public DescribeModelPackageResult()
    • Method Detail

      • setModelPackageName

        public void setModelPackageName(String modelPackageName)

        The name of the model package being described.

        Parameters:
        modelPackageName - The name of the model package being described.
      • getModelPackageName

        public String getModelPackageName()

        The name of the model package being described.

        Returns:
        The name of the model package being described.
      • withModelPackageName

        public DescribeModelPackageResult withModelPackageName(String modelPackageName)

        The name of the model package being described.

        Parameters:
        modelPackageName - The name of the model package being described.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setModelPackageGroupName

        public void setModelPackageGroupName(String modelPackageGroupName)

        If the model is a versioned model, the name of the model group that the versioned model belongs to.

        Parameters:
        modelPackageGroupName - If the model is a versioned model, the name of the model group that the versioned model belongs to.
      • getModelPackageGroupName

        public String getModelPackageGroupName()

        If the model is a versioned model, the name of the model group that the versioned model belongs to.

        Returns:
        If the model is a versioned model, the name of the model group that the versioned model belongs to.
      • withModelPackageGroupName

        public DescribeModelPackageResult withModelPackageGroupName(String modelPackageGroupName)

        If the model is a versioned model, the name of the model group that the versioned model belongs to.

        Parameters:
        modelPackageGroupName - If the model is a versioned model, the name of the model group that the versioned model belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setModelPackageVersion

        public void setModelPackageVersion(Integer modelPackageVersion)

        The version of the model package.

        Parameters:
        modelPackageVersion - The version of the model package.
      • getModelPackageVersion

        public Integer getModelPackageVersion()

        The version of the model package.

        Returns:
        The version of the model package.
      • withModelPackageVersion

        public DescribeModelPackageResult withModelPackageVersion(Integer modelPackageVersion)

        The version of the model package.

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

        public void setModelPackageArn(String modelPackageArn)

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

        Parameters:
        modelPackageArn - The Amazon Resource Name (ARN) of the model package.
      • getModelPackageArn

        public String getModelPackageArn()

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

        Returns:
        The Amazon Resource Name (ARN) of the model package.
      • withModelPackageArn

        public DescribeModelPackageResult withModelPackageArn(String modelPackageArn)

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

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

        public void setModelPackageDescription(String modelPackageDescription)

        A brief summary of the model package.

        Parameters:
        modelPackageDescription - A brief summary of the model package.
      • getModelPackageDescription

        public String getModelPackageDescription()

        A brief summary of the model package.

        Returns:
        A brief summary of the model package.
      • withModelPackageDescription

        public DescribeModelPackageResult withModelPackageDescription(String modelPackageDescription)

        A brief summary of the model package.

        Parameters:
        modelPackageDescription - A brief summary of the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreationTime

        public void setCreationTime(Date creationTime)

        A timestamp specifying when the model package was created.

        Parameters:
        creationTime - A timestamp specifying when the model package was created.
      • getCreationTime

        public Date getCreationTime()

        A timestamp specifying when the model package was created.

        Returns:
        A timestamp specifying when the model package was created.
      • withCreationTime

        public DescribeModelPackageResult withCreationTime(Date creationTime)

        A timestamp specifying when the model package was created.

        Parameters:
        creationTime - A timestamp specifying when the model package was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInferenceSpecification

        public void setInferenceSpecification(InferenceSpecification inferenceSpecification)

        Details about inference jobs that you can run with models based on this model package.

        Parameters:
        inferenceSpecification - Details about inference jobs that you can run with models based on this model package.
      • getInferenceSpecification

        public InferenceSpecification getInferenceSpecification()

        Details about inference jobs that you can run with models based on this model package.

        Returns:
        Details about inference jobs that you can run with models based on this model package.
      • withInferenceSpecification

        public DescribeModelPackageResult withInferenceSpecification(InferenceSpecification inferenceSpecification)

        Details about inference jobs that you can run with models based on this model package.

        Parameters:
        inferenceSpecification - Details about inference jobs that you can run with models based on this model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceAlgorithmSpecification

        public void setSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)

        Details about the algorithm that was used to create the model package.

        Parameters:
        sourceAlgorithmSpecification - Details about the algorithm that was used to create the model package.
      • getSourceAlgorithmSpecification

        public SourceAlgorithmSpecification getSourceAlgorithmSpecification()

        Details about the algorithm that was used to create the model package.

        Returns:
        Details about the algorithm that was used to create the model package.
      • withSourceAlgorithmSpecification

        public DescribeModelPackageResult withSourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)

        Details about the algorithm that was used to create the model package.

        Parameters:
        sourceAlgorithmSpecification - Details about the algorithm that was used to create the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValidationSpecification

        public void setValidationSpecification(ModelPackageValidationSpecification validationSpecification)

        Configurations for one or more transform jobs that SageMaker runs to test the model package.

        Parameters:
        validationSpecification - Configurations for one or more transform jobs that SageMaker runs to test the model package.
      • getValidationSpecification

        public ModelPackageValidationSpecification getValidationSpecification()

        Configurations for one or more transform jobs that SageMaker runs to test the model package.

        Returns:
        Configurations for one or more transform jobs that SageMaker runs to test the model package.
      • withValidationSpecification

        public DescribeModelPackageResult withValidationSpecification(ModelPackageValidationSpecification validationSpecification)

        Configurations for one or more transform jobs that SageMaker runs to test the model package.

        Parameters:
        validationSpecification - Configurations for one or more transform jobs that SageMaker runs to test the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setModelPackageStatus

        public void setModelPackageStatus(String modelPackageStatus)

        The current status of the model package.

        Parameters:
        modelPackageStatus - The current status of the model package.
        See Also:
        ModelPackageStatus
      • getModelPackageStatus

        public String getModelPackageStatus()

        The current status of the model package.

        Returns:
        The current status of the model package.
        See Also:
        ModelPackageStatus
      • withModelPackageStatus

        public DescribeModelPackageResult withModelPackageStatus(String modelPackageStatus)

        The current status of the model package.

        Parameters:
        modelPackageStatus - The current status of the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelPackageStatus
      • withModelPackageStatus

        public DescribeModelPackageResult withModelPackageStatus(ModelPackageStatus modelPackageStatus)

        The current status of the model package.

        Parameters:
        modelPackageStatus - The current status of the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelPackageStatus
      • setModelPackageStatusDetails

        public void setModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)

        Details about the current status of the model package.

        Parameters:
        modelPackageStatusDetails - Details about the current status of the model package.
      • getModelPackageStatusDetails

        public ModelPackageStatusDetails getModelPackageStatusDetails()

        Details about the current status of the model package.

        Returns:
        Details about the current status of the model package.
      • withModelPackageStatusDetails

        public DescribeModelPackageResult withModelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)

        Details about the current status of the model package.

        Parameters:
        modelPackageStatusDetails - Details about the current status of the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCertifyForMarketplace

        public void setCertifyForMarketplace(Boolean certifyForMarketplace)

        Whether the model package is certified for listing on Amazon Web Services Marketplace.

        Parameters:
        certifyForMarketplace - Whether the model package is certified for listing on Amazon Web Services Marketplace.
      • getCertifyForMarketplace

        public Boolean getCertifyForMarketplace()

        Whether the model package is certified for listing on Amazon Web Services Marketplace.

        Returns:
        Whether the model package is certified for listing on Amazon Web Services Marketplace.
      • withCertifyForMarketplace

        public DescribeModelPackageResult withCertifyForMarketplace(Boolean certifyForMarketplace)

        Whether the model package is certified for listing on Amazon Web Services Marketplace.

        Parameters:
        certifyForMarketplace - Whether the model package is certified for listing on Amazon Web Services Marketplace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isCertifyForMarketplace

        public Boolean isCertifyForMarketplace()

        Whether the model package is certified for listing on Amazon Web Services Marketplace.

        Returns:
        Whether the model package is certified for listing on Amazon Web Services Marketplace.
      • setModelApprovalStatus

        public void setModelApprovalStatus(String modelApprovalStatus)

        The approval status of the model package.

        Parameters:
        modelApprovalStatus - The approval status of the model package.
        See Also:
        ModelApprovalStatus
      • getModelApprovalStatus

        public String getModelApprovalStatus()

        The approval status of the model package.

        Returns:
        The approval status of the model package.
        See Also:
        ModelApprovalStatus
      • withModelApprovalStatus

        public DescribeModelPackageResult withModelApprovalStatus(String modelApprovalStatus)

        The approval status of the model package.

        Parameters:
        modelApprovalStatus - The approval status of the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelApprovalStatus
      • withModelApprovalStatus

        public DescribeModelPackageResult withModelApprovalStatus(ModelApprovalStatus modelApprovalStatus)

        The approval status of the model package.

        Parameters:
        modelApprovalStatus - The approval status of the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelApprovalStatus
      • setCreatedBy

        public void setCreatedBy(UserContext createdBy)
        Parameters:
        createdBy -
      • getCreatedBy

        public UserContext getCreatedBy()
        Returns:
      • withCreatedBy

        public DescribeModelPackageResult withCreatedBy(UserContext createdBy)
        Parameters:
        createdBy -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetadataProperties

        public void setMetadataProperties(MetadataProperties metadataProperties)
        Parameters:
        metadataProperties -
      • withMetadataProperties

        public DescribeModelPackageResult withMetadataProperties(MetadataProperties metadataProperties)
        Parameters:
        metadataProperties -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setModelMetrics

        public void setModelMetrics(ModelMetrics modelMetrics)

        Metrics for the model.

        Parameters:
        modelMetrics - Metrics for the model.
      • getModelMetrics

        public ModelMetrics getModelMetrics()

        Metrics for the model.

        Returns:
        Metrics for the model.
      • withModelMetrics

        public DescribeModelPackageResult withModelMetrics(ModelMetrics modelMetrics)

        Metrics for the model.

        Parameters:
        modelMetrics - Metrics for the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastModifiedTime

        public void setLastModifiedTime(Date lastModifiedTime)

        The last time that the model package was modified.

        Parameters:
        lastModifiedTime - The last time that the model package was modified.
      • getLastModifiedTime

        public Date getLastModifiedTime()

        The last time that the model package was modified.

        Returns:
        The last time that the model package was modified.
      • withLastModifiedTime

        public DescribeModelPackageResult withLastModifiedTime(Date lastModifiedTime)

        The last time that the model package was modified.

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

        public void setLastModifiedBy(UserContext lastModifiedBy)
        Parameters:
        lastModifiedBy -
      • getLastModifiedBy

        public UserContext getLastModifiedBy()
        Returns:
      • withLastModifiedBy

        public DescribeModelPackageResult withLastModifiedBy(UserContext lastModifiedBy)
        Parameters:
        lastModifiedBy -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setApprovalDescription

        public void setApprovalDescription(String approvalDescription)

        A description provided for the model approval.

        Parameters:
        approvalDescription - A description provided for the model approval.
      • getApprovalDescription

        public String getApprovalDescription()

        A description provided for the model approval.

        Returns:
        A description provided for the model approval.
      • withApprovalDescription

        public DescribeModelPackageResult withApprovalDescription(String approvalDescription)

        A description provided for the model approval.

        Parameters:
        approvalDescription - A description provided for the model approval.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDomain

        public void setDomain(String domain)

        The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.

        Parameters:
        domain - The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.
      • getDomain

        public String getDomain()

        The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.

        Returns:
        The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.
      • withDomain

        public DescribeModelPackageResult withDomain(String domain)

        The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.

        Parameters:
        domain - The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTask

        public void setTask(String task)

        The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.

        Parameters:
        task - The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.
      • getTask

        public String getTask()

        The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.

        Returns:
        The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.
      • withTask

        public DescribeModelPackageResult withTask(String task)

        The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.

        Parameters:
        task - The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSamplePayloadUrl

        public void setSamplePayloadUrl(String samplePayloadUrl)

        The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).

        Parameters:
        samplePayloadUrl - The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).
      • getSamplePayloadUrl

        public String getSamplePayloadUrl()

        The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).

        Returns:
        The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).
      • withSamplePayloadUrl

        public DescribeModelPackageResult withSamplePayloadUrl(String samplePayloadUrl)

        The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).

        Parameters:
        samplePayloadUrl - The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getCustomerMetadataProperties

        public Map<String,String> getCustomerMetadataProperties()

        The metadata properties associated with the model package versions.

        Returns:
        The metadata properties associated with the model package versions.
      • setCustomerMetadataProperties

        public void setCustomerMetadataProperties(Map<String,String> customerMetadataProperties)

        The metadata properties associated with the model package versions.

        Parameters:
        customerMetadataProperties - The metadata properties associated with the model package versions.
      • withCustomerMetadataProperties

        public DescribeModelPackageResult withCustomerMetadataProperties(Map<String,String> customerMetadataProperties)

        The metadata properties associated with the model package versions.

        Parameters:
        customerMetadataProperties - The metadata properties associated with the model package versions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearCustomerMetadataPropertiesEntries

        public DescribeModelPackageResult clearCustomerMetadataPropertiesEntries()
        Removes all the entries added into CustomerMetadataProperties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAdditionalInferenceSpecifications

        public List<AdditionalInferenceSpecificationDefinition> getAdditionalInferenceSpecifications()

        An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.

        Returns:
        An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
      • setAdditionalInferenceSpecifications

        public void setAdditionalInferenceSpecifications(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecifications)

        An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.

        Parameters:
        additionalInferenceSpecifications - An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
      • withAdditionalInferenceSpecifications

        public DescribeModelPackageResult withAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecifications)

        An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.

        NOTE: This method appends the values to the existing list (if any). Use setAdditionalInferenceSpecifications(java.util.Collection) or withAdditionalInferenceSpecifications(java.util.Collection) if you want to override the existing values.

        Parameters:
        additionalInferenceSpecifications - An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withAdditionalInferenceSpecifications

        public DescribeModelPackageResult withAdditionalInferenceSpecifications(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecifications)

        An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.

        Parameters:
        additionalInferenceSpecifications - An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSkipModelValidation

        public void setSkipModelValidation(String skipModelValidation)

        Indicates if you want to skip model validation.

        Parameters:
        skipModelValidation - Indicates if you want to skip model validation.
        See Also:
        SkipModelValidation
      • getSkipModelValidation

        public String getSkipModelValidation()

        Indicates if you want to skip model validation.

        Returns:
        Indicates if you want to skip model validation.
        See Also:
        SkipModelValidation
      • withSkipModelValidation

        public DescribeModelPackageResult withSkipModelValidation(String skipModelValidation)

        Indicates if you want to skip model validation.

        Parameters:
        skipModelValidation - Indicates if you want to skip model validation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SkipModelValidation
      • withSkipModelValidation

        public DescribeModelPackageResult withSkipModelValidation(SkipModelValidation skipModelValidation)

        Indicates if you want to skip model validation.

        Parameters:
        skipModelValidation - Indicates if you want to skip model validation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SkipModelValidation
      • setSourceUri

        public void setSourceUri(String sourceUri)

        The URI of the source for the model package.

        Parameters:
        sourceUri - The URI of the source for the model package.
      • getSourceUri

        public String getSourceUri()

        The URI of the source for the model package.

        Returns:
        The URI of the source for the model package.
      • withSourceUri

        public DescribeModelPackageResult withSourceUri(String sourceUri)

        The URI of the source for the model package.

        Parameters:
        sourceUri - The URI of the source for the model package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSecurityConfig

        public void setSecurityConfig(ModelPackageSecurityConfig securityConfig)

        The KMS Key ID (KMSKeyId) used for encryption of model package information.

        Parameters:
        securityConfig - The KMS Key ID (KMSKeyId) used for encryption of model package information.
      • getSecurityConfig

        public ModelPackageSecurityConfig getSecurityConfig()

        The KMS Key ID (KMSKeyId) used for encryption of model package information.

        Returns:
        The KMS Key ID (KMSKeyId) used for encryption of model package information.
      • withSecurityConfig

        public DescribeModelPackageResult withSecurityConfig(ModelPackageSecurityConfig securityConfig)

        The KMS Key ID (KMSKeyId) used for encryption of model package information.

        Parameters:
        securityConfig - The KMS Key ID (KMSKeyId) used for encryption of model package information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setModelCard

        public void setModelCard(ModelPackageModelCard modelCard)

        The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.

        Parameters:
        modelCard - The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
      • getModelCard

        public ModelPackageModelCard getModelCard()

        The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.

        Returns:
        The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
      • withModelCard

        public DescribeModelPackageResult withModelCard(ModelPackageModelCard modelCard)

        The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.

        Parameters:
        modelCard - The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /