code: public static Endpoint create(final BandwidthClient client, final String domainId, final String name, 
              final String password) throws AppPlatformException, ParseException, Exception {
          return create(client, domainId, name, password, null);
      }
docs: Convenience factory method for Endpoint, returns a created Endpoint object from a name
  @param client the bandwidth client configuration.
  @param domainId the domain id.
  @param name the endpoint name.
  @param password the endpoint password
  @return the created endpoint.
  @throws AppPlatformException API Exception
  @throws ParseException Error parsing data
  @throws Exception error