public static interface ModelPackage.Builder extends SdkPojo, CopyableBuilder<ModelPackage.Builder,ModelPackage>
Modifier and Type | Method and Description |
---|---|
ModelPackage.Builder |
additionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecifications)
An array of additional Inference Specification objects.
|
ModelPackage.Builder |
additionalInferenceSpecifications(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecifications)
An array of additional Inference Specification objects.
|
ModelPackage.Builder |
additionalInferenceSpecifications(Consumer<AdditionalInferenceSpecificationDefinition.Builder>... additionalInferenceSpecifications)
An array of additional Inference Specification objects.
|
ModelPackage.Builder |
approvalDescription(String approvalDescription)
A description provided when the model approval is set.
|
ModelPackage.Builder |
certifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace.
|
default ModelPackage.Builder |
createdBy(Consumer<UserContext.Builder> createdBy)
Information about the user who created or modified an experiment, trial, trial component, lineage group, or
project.
|
ModelPackage.Builder |
createdBy(UserContext createdBy)
Information about the user who created or modified an experiment, trial, trial component, lineage group, or
project.
|
ModelPackage.Builder |
creationTime(Instant creationTime)
The time that the model package was created.
|
ModelPackage.Builder |
customerMetadataProperties(Map<String,String> customerMetadataProperties)
The metadata properties for the model package.
|
ModelPackage.Builder |
domain(String domain)
The machine learning domain of your model package and its components.
|
default ModelPackage.Builder |
driftCheckBaselines(Consumer<DriftCheckBaselines.Builder> driftCheckBaselines)
Represents the drift check baselines that can be used when the model monitor is set using the model package.
|
ModelPackage.Builder |
driftCheckBaselines(DriftCheckBaselines driftCheckBaselines)
Represents the drift check baselines that can be used when the model monitor is set using the model package.
|
default ModelPackage.Builder |
inferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)
Defines how to perform inference generation after a training job is run.
|
ModelPackage.Builder |
inferenceSpecification(InferenceSpecification inferenceSpecification)
Defines how to perform inference generation after a training job is run.
|
default ModelPackage.Builder |
lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Information about the user who created or modified an experiment, trial, trial component, lineage group, or
project.
|
ModelPackage.Builder |
lastModifiedBy(UserContext lastModifiedBy)
Information about the user who created or modified an experiment, trial, trial component, lineage group, or
project.
|
ModelPackage.Builder |
lastModifiedTime(Instant lastModifiedTime)
The last time the model package was modified.
|
default ModelPackage.Builder |
metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
Metadata properties of the tracking entity, trial, or trial component.
|
ModelPackage.Builder |
metadataProperties(MetadataProperties metadataProperties)
Metadata properties of the tracking entity, trial, or trial component.
|
ModelPackage.Builder |
modelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model.
|
ModelPackage.Builder |
modelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
|
default ModelPackage.Builder |
modelMetrics(Consumer<ModelMetrics.Builder> modelMetrics)
Metrics for the model.
|
ModelPackage.Builder |
modelMetrics(ModelMetrics modelMetrics)
Metrics for the model.
|
ModelPackage.Builder |
modelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
|
ModelPackage.Builder |
modelPackageDescription(String modelPackageDescription)
The description of the model package.
|
ModelPackage.Builder |
modelPackageGroupName(String modelPackageGroupName)
The model group to which the model belongs.
|
ModelPackage.Builder |
modelPackageName(String modelPackageName)
The name of the model.
|
ModelPackage.Builder |
modelPackageStatus(ModelPackageStatus modelPackageStatus)
The status of the model package.
|
ModelPackage.Builder |
modelPackageStatus(String modelPackageStatus)
The status of the model package.
|
default ModelPackage.Builder |
modelPackageStatusDetails(Consumer<ModelPackageStatusDetails.Builder> modelPackageStatusDetails)
Specifies the validation and image scan statuses of the model package.
|
ModelPackage.Builder |
modelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)
Specifies the validation and image scan statuses of the model package.
|
ModelPackage.Builder |
modelPackageVersion(Integer modelPackageVersion)
The version number of a versioned model.
|
ModelPackage.Builder |
samplePayloadUrl(String samplePayloadUrl)
The Amazon Simple Storage Service path where the sample payload are stored.
|
default ModelPackage.Builder |
sourceAlgorithmSpecification(Consumer<SourceAlgorithmSpecification.Builder> sourceAlgorithmSpecification)
A list of algorithms that were used to create a model package.
|
ModelPackage.Builder |
sourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
A list of algorithms that were used to create a model package.
|
ModelPackage.Builder |
tags(Collection<Tag> tags)
A list of the tags associated with the model package.
|
ModelPackage.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of the tags associated with the model package.
|
ModelPackage.Builder |
tags(Tag... tags)
A list of the tags associated with the model package.
|
ModelPackage.Builder |
task(String task)
The machine learning task your model package accomplishes.
|
default ModelPackage.Builder |
validationSpecification(Consumer<ModelPackageValidationSpecification.Builder> validationSpecification)
Specifies batch transform jobs that SageMaker runs to validate your model package.
|
ModelPackage.Builder |
validationSpecification(ModelPackageValidationSpecification validationSpecification)
Specifies batch transform jobs that SageMaker runs to validate your model package.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModelPackage.Builder modelPackageName(String modelPackageName)
The name of the model.
modelPackageName
- The name of the model.ModelPackage.Builder modelPackageGroupName(String modelPackageGroupName)
The model group to which the model belongs.
modelPackageGroupName
- The model group to which the model belongs.ModelPackage.Builder modelPackageVersion(Integer modelPackageVersion)
The version number of a versioned model.
modelPackageVersion
- The version number of a versioned model.ModelPackage.Builder modelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
modelPackageArn
- The Amazon Resource Name (ARN) of the model package.ModelPackage.Builder modelPackageDescription(String modelPackageDescription)
The description of the model package.
modelPackageDescription
- The description of the model package.ModelPackage.Builder creationTime(Instant creationTime)
The time that the model package was created.
creationTime
- The time that the model package was created.ModelPackage.Builder inferenceSpecification(InferenceSpecification inferenceSpecification)
Defines how to perform inference generation after a training job is run.
inferenceSpecification
- Defines how to perform inference generation after a training job is run.default ModelPackage.Builder inferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)
Defines how to perform inference generation after a training job is run.
This is a convenience method that creates an instance of theInferenceSpecification.Builder
avoiding
the need to create one manually via InferenceSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to inferenceSpecification(InferenceSpecification)
.inferenceSpecification
- a consumer that will call methods on InferenceSpecification.Builder
inferenceSpecification(InferenceSpecification)
ModelPackage.Builder sourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
A list of algorithms that were used to create a model package.
sourceAlgorithmSpecification
- A list of algorithms that were used to create a model package.default ModelPackage.Builder sourceAlgorithmSpecification(Consumer<SourceAlgorithmSpecification.Builder> sourceAlgorithmSpecification)
A list of algorithms that were used to create a model package.
This is a convenience method that creates an instance of theSourceAlgorithmSpecification.Builder
avoiding the need to create one manually via SourceAlgorithmSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to sourceAlgorithmSpecification(SourceAlgorithmSpecification)
.sourceAlgorithmSpecification
- a consumer that will call methods on SourceAlgorithmSpecification.Builder
sourceAlgorithmSpecification(SourceAlgorithmSpecification)
ModelPackage.Builder validationSpecification(ModelPackageValidationSpecification validationSpecification)
Specifies batch transform jobs that SageMaker runs to validate your model package.
validationSpecification
- Specifies batch transform jobs that SageMaker runs to validate your model package.default ModelPackage.Builder validationSpecification(Consumer<ModelPackageValidationSpecification.Builder> validationSpecification)
Specifies batch transform jobs that SageMaker runs to validate your model package.
This is a convenience method that creates an instance of theModelPackageValidationSpecification.Builder
avoiding the need to create one manually via
ModelPackageValidationSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to validationSpecification(ModelPackageValidationSpecification)
.validationSpecification
- a consumer that will call methods on ModelPackageValidationSpecification.Builder
validationSpecification(ModelPackageValidationSpecification)
ModelPackage.Builder modelPackageStatus(String modelPackageStatus)
The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
modelPackageStatus
- The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
ModelPackageStatus
,
ModelPackageStatus
ModelPackage.Builder modelPackageStatus(ModelPackageStatus modelPackageStatus)
The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
modelPackageStatus
- The status of the model package. This can be one of the following values.
PENDING
- The model package is pending being created.
IN_PROGRESS
- The model package is in the process of being created.
COMPLETED
- The model package was successfully created.
FAILED
- The model package failed.
DELETING
- The model package is in the process of being deleted.
ModelPackageStatus
,
ModelPackageStatus
ModelPackage.Builder modelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)
Specifies the validation and image scan statuses of the model package.
modelPackageStatusDetails
- Specifies the validation and image scan statuses of the model package.default ModelPackage.Builder modelPackageStatusDetails(Consumer<ModelPackageStatusDetails.Builder> modelPackageStatusDetails)
Specifies the validation and image scan statuses of the model package.
This is a convenience method that creates an instance of theModelPackageStatusDetails.Builder
avoiding the need to create one manually via ModelPackageStatusDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to modelPackageStatusDetails(ModelPackageStatusDetails)
.modelPackageStatusDetails
- a consumer that will call methods on ModelPackageStatusDetails.Builder
modelPackageStatusDetails(ModelPackageStatusDetails)
ModelPackage.Builder certifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.
certifyForMarketplace
- Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For
information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or
Model Package on Amazon Web Services Marketplace.ModelPackage.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.
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.
ModelApprovalStatus
,
ModelApprovalStatus
ModelPackage.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.
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.
ModelApprovalStatus
,
ModelApprovalStatus
ModelPackage.Builder createdBy(UserContext createdBy)
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
createdBy
- Information about the user who created or modified an experiment, trial, trial component, lineage
group, or project.default ModelPackage.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
This is a convenience method that creates an instance of theUserContext.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)
.createdBy
- a consumer that will call methods on UserContext.Builder
createdBy(UserContext)
ModelPackage.Builder metadataProperties(MetadataProperties metadataProperties)
Metadata properties of the tracking entity, trial, or trial component.
metadataProperties
- Metadata properties of the tracking entity, trial, or trial component.default ModelPackage.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
Metadata properties of the tracking entity, trial, or trial component.
This is a convenience method that creates an instance of theMetadataProperties.Builder
avoiding the
need to create one manually via MetadataProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to metadataProperties(MetadataProperties)
.metadataProperties
- a consumer that will call methods on MetadataProperties.Builder
metadataProperties(MetadataProperties)
ModelPackage.Builder modelMetrics(ModelMetrics modelMetrics)
Metrics for the model.
modelMetrics
- Metrics for the model.default ModelPackage.Builder modelMetrics(Consumer<ModelMetrics.Builder> modelMetrics)
Metrics for the model.
This is a convenience method that creates an instance of theModelMetrics.Builder
avoiding the need
to create one manually via ModelMetrics.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to modelMetrics(ModelMetrics)
.modelMetrics
- a consumer that will call methods on ModelMetrics.Builder
modelMetrics(ModelMetrics)
ModelPackage.Builder lastModifiedTime(Instant lastModifiedTime)
The last time the model package was modified.
lastModifiedTime
- The last time the model package was modified.ModelPackage.Builder lastModifiedBy(UserContext lastModifiedBy)
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
lastModifiedBy
- Information about the user who created or modified an experiment, trial, trial component, lineage
group, or project.default ModelPackage.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
This is a convenience method that creates an instance of theUserContext.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)
.lastModifiedBy
- a consumer that will call methods on UserContext.Builder
lastModifiedBy(UserContext)
ModelPackage.Builder approvalDescription(String approvalDescription)
A description provided when the model approval is set.
approvalDescription
- A description provided when the model approval is set.ModelPackage.Builder domain(String domain)
The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.
domain
- The machine learning domain of your model package and its components. Common machine learning domains
include computer vision and natural language processing.ModelPackage.Builder task(String task)
The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification.
task
- The machine learning task your model package accomplishes. Common machine learning tasks include
object detection and image classification.ModelPackage.Builder samplePayloadUrl(String samplePayloadUrl)
The Amazon Simple Storage Service path where the sample payload are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
samplePayloadUrl
- The Amazon Simple Storage Service path where the sample payload are stored. This path must point to a
single gzip compressed tar archive (.tar.gz suffix).ModelPackage.Builder additionalInferenceSpecifications(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecifications)
An array of additional Inference Specification objects.
additionalInferenceSpecifications
- An array of additional Inference Specification objects.ModelPackage.Builder additionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecifications)
An array of additional Inference Specification objects.
additionalInferenceSpecifications
- An array of additional Inference Specification objects.ModelPackage.Builder additionalInferenceSpecifications(Consumer<AdditionalInferenceSpecificationDefinition.Builder>... additionalInferenceSpecifications)
An array of additional Inference Specification objects.
This is a convenience method that creates an instance of the.Builder
avoiding the need to create one manually via
List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result is passed to #additionalInferenceSpecifications(List)
.additionalInferenceSpecifications
- a consumer that will call methods on List.Builder
#additionalInferenceSpecifications(List)
ModelPackage.Builder tags(Collection<Tag> tags)
A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
tags
- A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference Guide.ModelPackage.Builder tags(Tag... tags)
A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
tags
- A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference Guide.ModelPackage.Builder tags(Consumer<Tag.Builder>... tags)
A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
ModelPackage.Builder customerMetadataProperties(Map<String,String> customerMetadataProperties)
The metadata properties for the model package.
customerMetadataProperties
- The metadata properties for the model package.ModelPackage.Builder driftCheckBaselines(DriftCheckBaselines driftCheckBaselines)
Represents the drift check baselines that can be used when the model monitor is set using the model package.
driftCheckBaselines
- Represents the drift check baselines that can be used when the model monitor is set using the model
package.default ModelPackage.Builder driftCheckBaselines(Consumer<DriftCheckBaselines.Builder> driftCheckBaselines)
Represents the drift check baselines that can be used when the model monitor is set using the model package.
This is a convenience method that creates an instance of theDriftCheckBaselines.Builder
avoiding the
need to create one manually via DriftCheckBaselines.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to driftCheckBaselines(DriftCheckBaselines)
.driftCheckBaselines
- a consumer that will call methods on DriftCheckBaselines.Builder
driftCheckBaselines(DriftCheckBaselines)
Copyright © 2022. All rights reserved.