public ServiceFuture<ManagedBackupShortTermRetentionPolicyInner> updateAsync(String resourceGroupName, String managedInstanceName, String databaseName, Integer retentionDays, final ServiceCallback<ManagedBackupShortTermRetentionPolicyInner> serviceCallback) {
        return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, managedInstanceName, databaseName, retentionDays), serviceCallback);
    }
public ServiceFuture < ManagedBackupShortTermRetentionPolicyInner > updateAsync ( String resourceGroupName , String managedInstanceName , String databaseName , Integer retentionDays , final ServiceCallback < ManagedBackupShortTermRetentionPolicyInner > serviceCallback ) { return ServiceFuture . fromResponse ( updateWithServiceResponseAsync ( resourceGroupName , managedInstanceName , databaseName , retentionDays ) , serviceCallback ) ; }
Updates a managed database's short term retention policy.

@param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
@param managedInstanceName The name of the managed instance.
@param databaseName The name of the database.
@param retentionDays The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object