fun build(): CdpConfig
Validates the values provided.
IllegalArgumentException - if an invalid AppId or Endpoint is provided
IllegalArgumentException
Return Returns a CdpConfig or throws an exception