类 LpsRouteClient


  • public class LpsRouteClient
    extends BaseLpsClient
    Lps Route Client which provides the ability to communicating with private route service.

    Created by chenbo14 on 2019/11/28.

    • 构造器详细资料

      • LpsRouteClient

        public LpsRouteClient()
        Construct a lps client with default settings.
      • LpsRouteClient

        public LpsRouteClient​(BceClientConfiguration configuration)
        Construct a lps client with customized bce client configuration.
        参数:
        configuration - BceClientConfiguration
      • LpsRouteClient

        public LpsRouteClient​(String accessKey,
                              String secretKey)
        Construct a lps client access key, secret key and other default settings.
        参数:
        accessKey - access key id
        secretKey - secret key
    • 方法详细资料

      • uploadRouteInfo

        public UploadRouteResponse uploadRouteInfo​(UploadRouteRequest request)
        Upload the private route Info
        参数:
        request - UploadRouteRequest
        返回:
        uploadRouteResponse with routeId
      • listRouteInfo

        public ListRouteResponse listRouteInfo​(int pageNo,
                                               int pageSize)
        List route info
        参数:
        pageNo -
        pageSize -
        返回:
      • deleteRouteInfo

        public void deleteRouteInfo​(String routeId)
        delete route info
        参数:
        routeId -