Interface ModelPackageSummary.Builder

  • Method Details

    • modelPackageName

      ModelPackageSummary.Builder modelPackageName(String modelPackageName)

      The name of the model package.

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

      ModelPackageSummary.Builder modelPackageGroupName(String modelPackageGroupName)

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

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

      ModelPackageSummary.Builder modelPackageVersion(Integer modelPackageVersion)

      If the model package is a versioned model, the version of the model.

      Parameters:
      modelPackageVersion - If the model package is a versioned model, the version of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelPackageArn

      ModelPackageSummary.Builder modelPackageArn(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.
    • modelPackageDescription

      ModelPackageSummary.Builder modelPackageDescription(String modelPackageDescription)

      A brief description of the model package.

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

      ModelPackageSummary.Builder creationTime(Instant creationTime)

      A timestamp that shows when the model package was created.

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

      ModelPackageSummary.Builder modelPackageStatus(String modelPackageStatus)

      The overall status of the model package.

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

      ModelPackageSummary.Builder modelPackageStatus(ModelPackageStatus modelPackageStatus)

      The overall status of the model package.

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

      ModelPackageSummary.Builder modelApprovalStatus(String modelApprovalStatus)

      The approval status of the model. This can be one of the following values.

      • APPROVED - The model is approved

      • REJECTED - The model is rejected.

      • PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.

      Parameters:
      modelApprovalStatus - The approval status of the model. This can be one of the following values.

      • APPROVED - The model is approved

      • REJECTED - The model is rejected.

      • PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.

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

      ModelPackageSummary.Builder modelApprovalStatus(ModelApprovalStatus modelApprovalStatus)

      The approval status of the model. This can be one of the following values.

      • APPROVED - The model is approved

      • REJECTED - The model is rejected.

      • PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.

      Parameters:
      modelApprovalStatus - The approval status of the model. This can be one of the following values.

      • APPROVED - The model is approved

      • REJECTED - The model is rejected.

      • PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.

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

      ModelPackageSummary.Builder modelLifeCycle(ModelLifeCycle modelLifeCycle)
      Sets the value of the ModelLifeCycle property for this object.
      Parameters:
      modelLifeCycle - The new value for the ModelLifeCycle property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelLifeCycle

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

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

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