public UpdateOpsMetadataRequest withKeysToDelete(String... keysToDelete) {
        if (this.keysToDelete == null) {
            setKeysToDelete(new com.amazonaws.internal.SdkInternalList<String>(keysToDelete.length));
        }
        for (String ele : keysToDelete) {
            this.keysToDelete.add(ele);
        }
        return this;
    }
<p>
The metadata keys to delete from the OpsMetadata object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setKeysToDelete(java.util.Collection)} or {@link #withKeysToDelete(java.util.Collection)} if you want to
override the existing values.
</p>

@param keysToDelete
       The metadata keys to delete from the OpsMetadata object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/UpdateOpsMetadataRequest.java