def METHOD_NAME(
    self,
    authorization: Dict[str, str],
    channel_id: str,
    cmaf_package: Dict[str, Any],
    dash_package: Dict[str, Any],
    description: str,
    hls_package: Dict[str, Any],
    endpoint_id: str,
    manifest_name: str,
    mss_package: Dict[str, Any],
    origination: str,
    startover_window_seconds: int,
    tags: Dict[str, str],
    time_delay_seconds: int,
    whitelist: List[str],
) -> OriginEndpoint:
    arn = f"arn:aws:mediapackage:origin_endpoint:{endpoint_id}"
    url = f"https://origin-endpoint.mediapackage.{self.region_name}.amazonaws.com/{endpoint_id}"
    origin_endpoint = OriginEndpoint(
        arn=arn,
        authorization=authorization,
        channel_id=channel_id,
        cmaf_package=cmaf_package,
        dash_package=dash_package,
        description=description,
        hls_package=hls_package,
        endpoint_id=endpoint_id,
        manifest_name=manifest_name,
        mss_package=mss_package,
        origination=origination,
        startover_window_seconds=startover_window_seconds,
        tags=tags,
        time_delay_seconds=time_delay_seconds,
        url=url,
        whitelist=whitelist,
    )
    self._origin_endpoints[endpoint_id] = origin_endpoint
    return origin_endpoint