code: public static Domain create(final BandwidthClient client, final String name, final String description) throws AppPlatformException, ParseException, Exception {
          assert (name != null);
          final Map<String, Object> params = new HashMap<String, Object>();
          params.put("name", name);
          if(!StringUtils.isBlank(description)) {
              params.put("description", description);
          }
          return create(client, params);
      }
docs: Convenience method to create a Domain.
  @param client the client
  @param name the domain name.
  @param description the optional domain description.
  @return the created domain
  @throws AppPlatformException API Exception
  @throws ParseException Error parsing data
  @throws Exception error