code: public void marshall(EndpointLocation endpointLocation, ProtocolMarshaller protocolMarshaller) {
  
          if (endpointLocation == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(endpointLocation.getCity(), CITY_BINDING);
              protocolMarshaller.marshall(endpointLocation.getCountry(), COUNTRY_BINDING);
              protocolMarshaller.marshall(endpointLocation.getLatitude(), LATITUDE_BINDING);
              protocolMarshaller.marshall(endpointLocation.getLongitude(), LONGITUDE_BINDING);
              protocolMarshaller.marshall(endpointLocation.getPostalCode(), POSTALCODE_BINDING);
              protocolMarshaller.marshall(endpointLocation.getRegion(), REGION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.