@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) |
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.
|
String |
getModelApprovalStatus()
The approval status of the model.
|
String |
getModelPackageArn()
The Amazon Resource Name (ARN) of the model package.
|
int |
hashCode() |
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 |
setModelApprovalStatus(String modelApprovalStatus)
The approval status of the model.
|
void |
setModelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
|
String |
toString()
Returns a string representation of this object.
|
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 |
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.
|
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 String toString()
toString
in class Object
Object.toString()
public UpdateModelPackageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()