class NetworkAdapterResources {

    public Optional<RollbackNetworkResponse> rollbackCreateNetwork(RequestContext requestContext,
            CloudRegion cloudRegion, OrchestrationContext orchestrationContext, ServiceInstance serviceInstance,
            L3Network l3Network, Map<String, String> userInput, String cloudRegionPo,
            CreateNetworkResponse createNetworkResponse)
            throws UnsupportedEncodingException, NetworkAdapterClientException {

        RollbackNetworkRequest rollbackNetworkRequest = null;
        rollbackNetworkRequest = networkAdapterObjectMapper.createNetworkRollbackRequestMapper(requestContext,
                cloudRegion, orchestrationContext, serviceInstance, l3Network, userInput, cloudRegionPo,
                createNetworkResponse);

        return Optional.of(networkAdapterClient.rollbackNetwork(l3Network.getNetworkId(), rollbackNetworkRequest));
    }

}