@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.
|
ModelPackageModelCard |
getModelCard()
The model card associated with the model package.
|
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 |
setModelCard(ModelPackageModelCard modelCard)
The model card associated with the model package.
|
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 |
withModelCard(ModelPackageModelCard modelCard)
The model card associated with the model package.
|
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, withSdkRequestTimeout
public 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.ModelApprovalStatus
public String getModelApprovalStatus()
The approval status of the model.
ModelApprovalStatus
public UpdateModelPackageRequest withModelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
modelApprovalStatus
- The approval status of the model.ModelApprovalStatus
public UpdateModelPackageRequest withModelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model.
modelApprovalStatus
- The approval status of the model.ModelApprovalStatus
public 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 void setModelCard(ModelPackageModelCard modelCard)
The model card associated with the model package. Since ModelPackageModelCard
is tied to a model
package, it is a specific usage of a model card and its schema is simplified compared to the schema of
ModelCard
. The ModelPackageModelCard
schema does not include
model_package_details
, and model_overview
is composed of the model_creator
and model_artifact
properties. For more information about the model package model card schema, see
Model
package model card schema. For more information about the model card associated with the model package, see
View the Details of a Model
Version.
modelCard
- The model card associated with the model package. Since ModelPackageModelCard
is tied to a
model package, it is a specific usage of a model card and its schema is simplified compared to the schema
of ModelCard
. The ModelPackageModelCard
schema does not include
model_package_details
, and model_overview
is composed of the
model_creator
and model_artifact
properties. For more information about the
model package model card schema, see Model
package model card schema. For more information about the model card associated with the model
package, see View
the Details of a Model Version.public ModelPackageModelCard getModelCard()
The model card associated with the model package. Since ModelPackageModelCard
is tied to a model
package, it is a specific usage of a model card and its schema is simplified compared to the schema of
ModelCard
. The ModelPackageModelCard
schema does not include
model_package_details
, and model_overview
is composed of the model_creator
and model_artifact
properties. For more information about the model package model card schema, see
Model
package model card schema. For more information about the model card associated with the model package, see
View the Details of a Model
Version.
ModelPackageModelCard
is tied to a
model package, it is a specific usage of a model card and its schema is simplified compared to the schema
of ModelCard
. The ModelPackageModelCard
schema does not include
model_package_details
, and model_overview
is composed of the
model_creator
and model_artifact
properties. For more information about the
model package model card schema, see Model package model card schema. For more information about the model card associated with the model
package, see View
the Details of a Model Version.public UpdateModelPackageRequest withModelCard(ModelPackageModelCard modelCard)
The model card associated with the model package. Since ModelPackageModelCard
is tied to a model
package, it is a specific usage of a model card and its schema is simplified compared to the schema of
ModelCard
. The ModelPackageModelCard
schema does not include
model_package_details
, and model_overview
is composed of the model_creator
and model_artifact
properties. For more information about the model package model card schema, see
Model
package model card schema. For more information about the model card associated with the model package, see
View the Details of a Model
Version.
modelCard
- The model card associated with the model package. Since ModelPackageModelCard
is tied to a
model package, it is a specific usage of a model card and its schema is simplified compared to the schema
of ModelCard
. The ModelPackageModelCard
schema does not include
model_package_details
, and model_overview
is composed of the
model_creator
and model_artifact
properties. For more information about the
model package model card schema, see Model
package model card schema. For more information about the model card associated with the model
package, see View
the Details of a Model Version.public String toString()
toString
in class Object
Object.toString()
public UpdateModelPackageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()