public UpdateModelPackageRequest withCustomerMetadataPropertiesToRemove(String... customerMetadataPropertiesToRemove) {
        if (this.customerMetadataPropertiesToRemove == null) {
            setCustomerMetadataPropertiesToRemove(new java.util.ArrayList<String>(customerMetadataPropertiesToRemove.length));
        }
        for (String ele : customerMetadataPropertiesToRemove) {
            this.customerMetadataPropertiesToRemove.add(ele);
        }
        return this;
    }
<p>
The metadata properties associated with the model package versions to remove.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCustomerMetadataPropertiesToRemove(java.util.Collection)} or
{@link #withCustomerMetadataPropertiesToRemove(java.util.Collection)} if you want to override the existing
values.
</p>

@param customerMetadataPropertiesToRemove
       The metadata properties associated with the model package versions to remove.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/UpdateModelPackageRequest.java