@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateModelPackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| UpdateModelPackageRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateModelPackageRequest | addCustomerMetadataPropertiesEntry(String key,
                                  String value)Add a single CustomerMetadataProperties entry | 
| UpdateModelPackageRequest | clearCustomerMetadataPropertiesEntries()Removes all the entries added into CustomerMetadataProperties. | 
| UpdateModelPackageRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| List<AdditionalInferenceSpecificationDefinition> | getAdditionalInferenceSpecificationsToAdd()
 An array of additional Inference Specification objects to be added to the existing array additional Inference
 Specification. | 
| String | getApprovalDescription()
 A description for the approval status of the model. | 
| Map<String,String> | getCustomerMetadataProperties()
 The metadata properties associated with the model package versions. | 
| List<String> | getCustomerMetadataPropertiesToRemove()
 The metadata properties associated with the model package versions to remove. | 
| InferenceSpecification | getInferenceSpecification()
 Specifies details about inference jobs that you can run with models based on this model package, including the
 following information: | 
| String | getModelApprovalStatus()
 The approval status of the model. | 
| String | getModelPackageArn()
 The Amazon Resource Name (ARN) of the model package. | 
| String | getSourceUri()
 The URI of the source for the model package. | 
| int | hashCode() | 
| void | setAdditionalInferenceSpecificationsToAdd(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecificationsToAdd)
 An array of additional Inference Specification objects to be added to the existing array additional Inference
 Specification. | 
| void | setApprovalDescription(String approvalDescription)
 A description for the approval status of the model. | 
| void | setCustomerMetadataProperties(Map<String,String> customerMetadataProperties)
 The metadata properties associated with the model package versions. | 
| void | setCustomerMetadataPropertiesToRemove(Collection<String> customerMetadataPropertiesToRemove)
 The metadata properties associated with the model package versions to remove. | 
| void | setInferenceSpecification(InferenceSpecification inferenceSpecification)
 Specifies details about inference jobs that you can run with models based on this model package, including the
 following information: | 
| void | setModelApprovalStatus(String modelApprovalStatus)
 The approval status of the model. | 
| void | setModelPackageArn(String modelPackageArn)
 The Amazon Resource Name (ARN) of the model package. | 
| void | setSourceUri(String sourceUri)
 The URI of the source for the model package. | 
| String | toString()Returns a string representation of this object. | 
| UpdateModelPackageRequest | withAdditionalInferenceSpecificationsToAdd(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecificationsToAdd)
 An array of additional Inference Specification objects to be added to the existing array additional Inference
 Specification. | 
| UpdateModelPackageRequest | withAdditionalInferenceSpecificationsToAdd(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecificationsToAdd)
 An array of additional Inference Specification objects to be added to the existing array additional Inference
 Specification. | 
| UpdateModelPackageRequest | withApprovalDescription(String approvalDescription)
 A description for the approval status of the model. | 
| UpdateModelPackageRequest | withCustomerMetadataProperties(Map<String,String> customerMetadataProperties)
 The metadata properties associated with the model package versions. | 
| UpdateModelPackageRequest | withCustomerMetadataPropertiesToRemove(Collection<String> customerMetadataPropertiesToRemove)
 The metadata properties associated with the model package versions to remove. | 
| UpdateModelPackageRequest | withCustomerMetadataPropertiesToRemove(String... customerMetadataPropertiesToRemove)
 The metadata properties associated with the model package versions to remove. | 
| UpdateModelPackageRequest | withInferenceSpecification(InferenceSpecification inferenceSpecification)
 Specifies details about inference jobs that you can run with models based on this model package, including the
 following information: | 
| UpdateModelPackageRequest | withModelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
 The approval status of the model. | 
| UpdateModelPackageRequest | withModelApprovalStatus(String modelApprovalStatus)
 The approval status of the model. | 
| UpdateModelPackageRequest | withModelPackageArn(String modelPackageArn)
 The Amazon Resource Name (ARN) of the model package. | 
| UpdateModelPackageRequest | withSourceUri(String sourceUri)
 The URI of the source for the model package. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setModelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
modelPackageArn - The Amazon Resource Name (ARN) of the model package.public String getModelPackageArn()
The Amazon Resource Name (ARN) of the model package.
public UpdateModelPackageRequest withModelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
modelPackageArn - The Amazon Resource Name (ARN) of the model package.public void setModelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
modelApprovalStatus - The approval status of the model.ModelApprovalStatuspublic String getModelApprovalStatus()
The approval status of the model.
ModelApprovalStatuspublic UpdateModelPackageRequest withModelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
modelApprovalStatus - The approval status of the model.ModelApprovalStatuspublic UpdateModelPackageRequest withModelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model.
modelApprovalStatus - The approval status of the model.ModelApprovalStatuspublic void setApprovalDescription(String approvalDescription)
A description for the approval status of the model.
approvalDescription - A description for the approval status of the model.public String getApprovalDescription()
A description for the approval status of the model.
public UpdateModelPackageRequest withApprovalDescription(String approvalDescription)
A description for the approval status of the model.
approvalDescription - A description for the approval status of the model.public Map<String,String> getCustomerMetadataProperties()
The metadata properties associated with the model package versions.
public void setCustomerMetadataProperties(Map<String,String> customerMetadataProperties)
The metadata properties associated with the model package versions.
customerMetadataProperties - The metadata properties associated with the model package versions.public UpdateModelPackageRequest withCustomerMetadataProperties(Map<String,String> customerMetadataProperties)
The metadata properties associated with the model package versions.
customerMetadataProperties - The metadata properties associated with the model package versions.public UpdateModelPackageRequest addCustomerMetadataPropertiesEntry(String key, String value)
public UpdateModelPackageRequest clearCustomerMetadataPropertiesEntries()
public List<String> getCustomerMetadataPropertiesToRemove()
The metadata properties associated with the model package versions to remove.
public void setCustomerMetadataPropertiesToRemove(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.public UpdateModelPackageRequest withCustomerMetadataPropertiesToRemove(String... customerMetadataPropertiesToRemove)
The metadata properties associated with the model package versions to remove.
 NOTE: This method appends the values to the existing list (if any). Use
 setCustomerMetadataPropertiesToRemove(java.util.Collection) or
 withCustomerMetadataPropertiesToRemove(java.util.Collection) if you want to override the existing
 values.
 
customerMetadataPropertiesToRemove - The metadata properties associated with the model package versions to remove.public UpdateModelPackageRequest withCustomerMetadataPropertiesToRemove(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.public List<AdditionalInferenceSpecificationDefinition> getAdditionalInferenceSpecificationsToAdd()
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.
public void setAdditionalInferenceSpecificationsToAdd(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.public UpdateModelPackageRequest withAdditionalInferenceSpecificationsToAdd(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.
 NOTE: This method appends the values to the existing list (if any). Use
 setAdditionalInferenceSpecificationsToAdd(java.util.Collection) or
 withAdditionalInferenceSpecificationsToAdd(java.util.Collection) if you want to override the existing
 values.
 
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.public UpdateModelPackageRequest withAdditionalInferenceSpecificationsToAdd(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.public void setInferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that you can run with models based on this model package, including the following information:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
inferenceSpecification - Specifies details about inference jobs that you can run with models based on this model package, including
        the following information:
        The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
public InferenceSpecification getInferenceSpecification()
Specifies details about inference jobs that you can run with models based on this model package, including the following information:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
public UpdateModelPackageRequest withInferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that you can run with models based on this model package, including the following information:
The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
inferenceSpecification - Specifies details about inference jobs that you can run with models based on this model package, including
        the following information:
        The Amazon ECR paths of containers that contain the inference code and model artifacts.
The instance types that the model package supports for transform jobs and real-time endpoints used for inference.
The input and output content formats that the model package supports for inference.
public void setSourceUri(String sourceUri)
The URI of the source for the model package.
sourceUri - The URI of the source for the model package.public String getSourceUri()
The URI of the source for the model package.
public UpdateModelPackageRequest withSourceUri(String sourceUri)
The URI of the source for the model package.
sourceUri - The URI of the source for the model package.public String toString()
toString in class ObjectObject.toString()public UpdateModelPackageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()