question: public VdcConfig toConfigParam ( Properties vdcInfo ) { log . info ( "copy {} to the sync config param" , vdcInfo . getProperty ( GeoServiceJob . VDC_SHORT_ID ) ) ; VdcConfig vdcConfig = new VdcConfig ( ) ; vdcConfig . setId ( URIUtil . uri ( vdcInfo . getProperty ( GeoServiceJob . OPERATED_VDC_ID ) ) ) ; vdcConfig . setShortId ( vdcInfo . getProperty ( GeoServiceJob . VDC_SHORT_ID ) ) ; vdcConfig . setSecretKey ( vdcInfo . getProperty ( GeoServiceJob . VDC_SECRETE_KEY ) ) ; String name = vdcInfo . getProperty ( GeoServiceJob . VDC_NAME ) ; if ( ( name != null ) && ( ! name . isEmpty ( ) ) ) { vdcConfig . setName ( name ) ; } String description = vdcInfo . getProperty ( GeoServiceJob . VDC_DESCRIPTION ) ; if ( ( description != null ) && ( ! description . isEmpty ( ) ) ) { vdcConfig . setDescription ( description ) ; } String endPnt = vdcInfo . getProperty ( GeoServiceJob . VDC_API_ENDPOINT ) ; if ( endPnt != null ) { vdcConfig . setApiEndpoint ( endPnt ) ; } vdcConfig . setGeoCommandEndpoint ( vdcInfo . getProperty ( GeoServiceJob . VDC_GEOCOMMAND_ENDPOINT ) ) ; vdcConfig . setGeoDataEndpoint ( vdcInfo . getProperty ( GeoServiceJob . VDC_GEODATA_ENDPOINT ) ) ; return vdcConfig ; }
target:  Build VdcConfig for a vdc for SyncVdcConfig call