public static interface ModelPackage.Builder extends SdkPojo, CopyableBuilder<ModelPackage.Builder,ModelPackage>
| Modifier and Type | Method and Description |
|---|---|
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 AWS Marketplace.
|
default ModelPackage.Builder |
createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object.
|
ModelPackage.Builder |
createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.
|
ModelPackage.Builder |
creationTime(Instant creationTime)
The time that the model package was created.
|
default ModelPackage.Builder |
inferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)
Sets the value of the InferenceSpecification property for this object.
|
ModelPackage.Builder |
inferenceSpecification(InferenceSpecification inferenceSpecification)
Sets the value of the InferenceSpecification property for this object.
|
default ModelPackage.Builder |
lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.
|
ModelPackage.Builder |
lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.
|
ModelPackage.Builder |
lastModifiedTime(Instant lastModifiedTime)
The last time the model package was modified.
|
default ModelPackage.Builder |
metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
Sets the value of the MetadataProperties property for this object.
|
ModelPackage.Builder |
metadataProperties(MetadataProperties metadataProperties)
Sets the value of the MetadataProperties property for this object.
|
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)
Sets the value of the ModelPackageStatusDetails property for this object.
|
ModelPackage.Builder |
modelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)
Sets the value of the ModelPackageStatusDetails property for this object.
|
ModelPackage.Builder |
modelPackageVersion(Integer modelPackageVersion)
The version number of a versioned model.
|
default ModelPackage.Builder |
sourceAlgorithmSpecification(Consumer<SourceAlgorithmSpecification.Builder> sourceAlgorithmSpecification)
Sets the value of the SourceAlgorithmSpecification property for this object.
|
ModelPackage.Builder |
sourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
Sets the value of the SourceAlgorithmSpecification property for this object.
|
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.
|
default ModelPackage.Builder |
validationSpecification(Consumer<ModelPackageValidationSpecification.Builder> validationSpecification)
Sets the value of the ValidationSpecification property for this object.
|
ModelPackage.Builder |
validationSpecification(ModelPackageValidationSpecification validationSpecification)
Sets the value of the ValidationSpecification property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildModelPackage.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)
inferenceSpecification - The new value for the InferenceSpecification property for this object.default ModelPackage.Builder inferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)
InferenceSpecification.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.BuilderinferenceSpecification(InferenceSpecification)ModelPackage.Builder sourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
sourceAlgorithmSpecification - The new value for the SourceAlgorithmSpecification property for this object.default ModelPackage.Builder sourceAlgorithmSpecification(Consumer<SourceAlgorithmSpecification.Builder> sourceAlgorithmSpecification)
SourceAlgorithmSpecification.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.BuildersourceAlgorithmSpecification(SourceAlgorithmSpecification)ModelPackage.Builder validationSpecification(ModelPackageValidationSpecification validationSpecification)
validationSpecification - The new value for the ValidationSpecification property for this object.default ModelPackage.Builder validationSpecification(Consumer<ModelPackageValidationSpecification.Builder> validationSpecification)
ModelPackageValidationSpecification.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.BuildervalidationSpecification(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,
ModelPackageStatusModelPackage.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,
ModelPackageStatusModelPackage.Builder modelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)
modelPackageStatusDetails - The new value for the ModelPackageStatusDetails property for this object.default ModelPackage.Builder modelPackageStatusDetails(Consumer<ModelPackageStatusDetails.Builder> modelPackageStatusDetails)
ModelPackageStatusDetails.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.BuildermodelPackageStatusDetails(ModelPackageStatusDetails)ModelPackage.Builder certifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is to be certified to be listed on AWS Marketplace. For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace.
certifyForMarketplace - Whether the model package is to be certified to be listed on AWS Marketplace. For information about
listing model packages on AWS Marketplace, see List Your Algorithm or
Model Package on AWS 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,
ModelApprovalStatusModelPackage.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,
ModelApprovalStatusModelPackage.Builder createdBy(UserContext createdBy)
createdBy - The new value for the CreatedBy property for this object.default ModelPackage.Builder createdBy(Consumer<UserContext.Builder> createdBy)
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).createdBy - a consumer that will call methods on UserContext.BuildercreatedBy(UserContext)ModelPackage.Builder metadataProperties(MetadataProperties metadataProperties)
metadataProperties - The new value for the MetadataProperties property for this object.default ModelPackage.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
MetadataProperties.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.BuildermetadataProperties(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 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.BuildermodelMetrics(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)
lastModifiedBy - The new value for the LastModifiedBy property for this object.default ModelPackage.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
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).lastModifiedBy - a consumer that will call methods on UserContext.BuilderlastModifiedBy(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 tags(Collection<Tag> tags)
A list of the tags associated with the model package. For more information, see Tagging AWS resources in the AWS General Reference Guide.
tags - A list of the tags associated with the model package. For more information, see Tagging AWS resources in the
AWS General Reference Guide.ModelPackage.Builder tags(Tag... tags)
A list of the tags associated with the model package. For more information, see Tagging AWS resources in the AWS General Reference Guide.
tags - A list of the tags associated with the model package. For more information, see Tagging AWS resources in the
AWS 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 AWS resources in the AWS General Reference Guide.
This is a convenience 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) Copyright © 2021. All rights reserved.