code: public ServiceFuture<RecommendedActionInner> updateAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, String recommendedActionName, RecommendedActionStateInfo state, final ServiceCallback<RecommendedActionInner> serviceCallback) {
          return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, serverName, databaseName, advisorName, recommendedActionName, state), serviceCallback);
      }
docs: Updates a database recommended action.
  
  @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 serverName The name of the server.
  @param databaseName The name of the database.
  @param advisorName The name of the Database Advisor.
  @param recommendedActionName The name of Database Recommended Action.
  @param state Gets the info of the current state the recommended action is in.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object