public static interface UpdateModelPackageRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateModelPackageRequest.Builder,UpdateModelPackageRequest>
Modifier and Type | Method and Description |
---|---|
UpdateModelPackageRequest.Builder |
additionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecificationsToAdd)
An array of additional Inference Specification objects to be added to the existing array additional Inference
Specification.
|
UpdateModelPackageRequest.Builder |
additionalInferenceSpecificationsToAdd(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecificationsToAdd)
An array of additional Inference Specification objects to be added to the existing array additional Inference
Specification.
|
UpdateModelPackageRequest.Builder |
additionalInferenceSpecificationsToAdd(Consumer<AdditionalInferenceSpecificationDefinition.Builder>... additionalInferenceSpecificationsToAdd)
An array of additional Inference Specification objects to be added to the existing array additional Inference
Specification.
|
UpdateModelPackageRequest.Builder |
approvalDescription(String approvalDescription)
A description for the approval status of the model.
|
UpdateModelPackageRequest.Builder |
customerMetadataProperties(Map<String,String> customerMetadataProperties)
The metadata properties associated with the model package versions.
|
UpdateModelPackageRequest.Builder |
customerMetadataPropertiesToRemove(Collection<String> customerMetadataPropertiesToRemove)
The metadata properties associated with the model package versions to remove.
|
UpdateModelPackageRequest.Builder |
customerMetadataPropertiesToRemove(String... customerMetadataPropertiesToRemove)
The metadata properties associated with the model package versions to remove.
|
UpdateModelPackageRequest.Builder |
modelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model.
|
UpdateModelPackageRequest.Builder |
modelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
|
UpdateModelPackageRequest.Builder |
modelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
|
UpdateModelPackageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateModelPackageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateModelPackageRequest.Builder modelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
modelPackageArn
- The Amazon Resource Name (ARN) of the model package.UpdateModelPackageRequest.Builder modelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
modelApprovalStatus
- The approval status of the model.ModelApprovalStatus
,
ModelApprovalStatus
UpdateModelPackageRequest.Builder modelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model.
modelApprovalStatus
- The approval status of the model.ModelApprovalStatus
,
ModelApprovalStatus
UpdateModelPackageRequest.Builder approvalDescription(String approvalDescription)
A description for the approval status of the model.
approvalDescription
- A description for the approval status of the model.UpdateModelPackageRequest.Builder customerMetadataProperties(Map<String,String> customerMetadataProperties)
The metadata properties associated with the model package versions.
customerMetadataProperties
- The metadata properties associated with the model package versions.UpdateModelPackageRequest.Builder customerMetadataPropertiesToRemove(Collection<String> customerMetadataPropertiesToRemove)
The metadata properties associated with the model package versions to remove.
customerMetadataPropertiesToRemove
- The metadata properties associated with the model package versions to remove.UpdateModelPackageRequest.Builder customerMetadataPropertiesToRemove(String... customerMetadataPropertiesToRemove)
The metadata properties associated with the model package versions to remove.
customerMetadataPropertiesToRemove
- The metadata properties associated with the model package versions to remove.UpdateModelPackageRequest.Builder additionalInferenceSpecificationsToAdd(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecificationsToAdd)
An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. 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.
additionalInferenceSpecificationsToAdd
- An array of additional Inference Specification objects to be added to the existing array additional
Inference Specification. Total number of additional Inference Specifications can not exceed 15. 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.UpdateModelPackageRequest.Builder additionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecificationsToAdd)
An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. 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.
additionalInferenceSpecificationsToAdd
- An array of additional Inference Specification objects to be added to the existing array additional
Inference Specification. Total number of additional Inference Specifications can not exceed 15. 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.UpdateModelPackageRequest.Builder additionalInferenceSpecificationsToAdd(Consumer<AdditionalInferenceSpecificationDefinition.Builder>... additionalInferenceSpecificationsToAdd)
An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. 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.
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 #additionalInferenceSpecificationsToAdd(List)
.additionalInferenceSpecificationsToAdd
- a consumer that will call methods on List.Builder
#additionalInferenceSpecificationsToAdd(List)
UpdateModelPackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateModelPackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.