Interface UpdateModelPackageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateModelPackageRequest.Builder,UpdateModelPackageRequest>,SageMakerRequest.Builder,SdkBuilder<UpdateModelPackageRequest.Builder,UpdateModelPackageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateModelPackageRequest
public static interface UpdateModelPackageRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateModelPackageRequest.Builder,UpdateModelPackageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateModelPackageRequest.BuilderadditionalInferenceSpecificationsToAdd(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecificationsToAdd)An array of additional Inference Specification objects to be added to the existing array additional Inference Specification.UpdateModelPackageRequest.BuilderadditionalInferenceSpecificationsToAdd(Consumer<AdditionalInferenceSpecificationDefinition.Builder>... additionalInferenceSpecificationsToAdd)An array of additional Inference Specification objects to be added to the existing array additional Inference Specification.UpdateModelPackageRequest.BuilderadditionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecificationsToAdd)An array of additional Inference Specification objects to be added to the existing array additional Inference Specification.UpdateModelPackageRequest.BuilderapprovalDescription(String approvalDescription)A description for the approval status of the model.UpdateModelPackageRequest.BuildercustomerMetadataProperties(Map<String,String> customerMetadataProperties)The metadata properties associated with the model package versions.UpdateModelPackageRequest.BuildercustomerMetadataPropertiesToRemove(String... customerMetadataPropertiesToRemove)The metadata properties associated with the model package versions to remove.UpdateModelPackageRequest.BuildercustomerMetadataPropertiesToRemove(Collection<String> customerMetadataPropertiesToRemove)The metadata properties associated with the model package versions to remove.UpdateModelPackageRequest.BuildermodelApprovalStatus(String modelApprovalStatus)The approval status of the model.UpdateModelPackageRequest.BuildermodelApprovalStatus(ModelApprovalStatus modelApprovalStatus)The approval status of the model.UpdateModelPackageRequest.BuildermodelPackageArn(String modelPackageArn)The Amazon Resource Name (ARN) of the model package.UpdateModelPackageRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateModelPackageRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
modelPackageArn
UpdateModelPackageRequest.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.
-
modelApprovalStatus
UpdateModelPackageRequest.Builder modelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
- Parameters:
modelApprovalStatus- The approval status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelApprovalStatus,ModelApprovalStatus
-
modelApprovalStatus
UpdateModelPackageRequest.Builder modelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model.
- Parameters:
modelApprovalStatus- The approval status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelApprovalStatus,ModelApprovalStatus
-
approvalDescription
UpdateModelPackageRequest.Builder approvalDescription(String approvalDescription)
A description for the approval status of the model.
- Parameters:
approvalDescription- A description for the approval status of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerMetadataProperties
UpdateModelPackageRequest.Builder customerMetadataProperties(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.
-
customerMetadataPropertiesToRemove
UpdateModelPackageRequest.Builder customerMetadataPropertiesToRemove(Collection<String> customerMetadataPropertiesToRemove)
The metadata properties associated with the model package versions to remove.
- Parameters:
customerMetadataPropertiesToRemove- The metadata properties associated with the model package versions to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerMetadataPropertiesToRemove
UpdateModelPackageRequest.Builder customerMetadataPropertiesToRemove(String... customerMetadataPropertiesToRemove)
The metadata properties associated with the model package versions to remove.
- Parameters:
customerMetadataPropertiesToRemove- The metadata properties associated with the model package versions to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInferenceSpecificationsToAdd
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInferenceSpecificationsToAdd
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInferenceSpecificationsToAdd
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 theAdditionalInferenceSpecificationDefinition.Builderavoiding the need to create one manually viaAdditionalInferenceSpecificationDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#additionalInferenceSpecificationsToAdd(List.) - Parameters:
additionalInferenceSpecificationsToAdd- a consumer that will call methods onAdditionalInferenceSpecificationDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#additionalInferenceSpecificationsToAdd(java.util.Collection)
-
overrideConfiguration
UpdateModelPackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateModelPackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-