class AssignNetworkBBUtils {

    public void getCloudRegion(BuildingBlockExecution execution) {
        try {
            GeneralBuildingBlock gBBInput = execution.getGeneralBuildingBlock();
            CloudRegion cloudRegion = gBBInput.getCloudRegion();
            String cloudRegionSdnc;
            String cloudRegionPo = cloudRegion.getLcpCloudRegionId();
            if ("2.5".equalsIgnoreCase(cloudRegion.getCloudRegionVersion())) {
                cloudRegionSdnc = "AAIAIC25";
            } else {
                cloudRegionSdnc = cloudRegionPo;
            }
            execution.setVariable("cloudRegionPo", cloudRegionPo);
            execution.setVariable("cloudRegionSdnc", cloudRegionSdnc);
        } catch (Exception ex) {
            exceptionUtil.buildAndThrowWorkflowException(execution, 7000, ex);
        }
    }

}