public class LpsRouteClient extends BaseLpsClient
Created by chenbo14 on 2019/11/28.
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
LpsRouteClient()
Construct a lps client with default settings.
|
LpsRouteClient(BceClientConfiguration configuration)
Construct a lps client with customized bce client configuration.
|
LpsRouteClient(String accessKey,
String secretKey)
Construct a lps client access key, secret key and other default settings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteRouteInfo(String routeId)
delete route info
|
ListRouteResponse |
listRouteInfo(int pageNo,
int pageSize)
List route info
|
UploadRouteResponse |
uploadRouteInfo(UploadRouteRequest request)
Upload the private route Info
|
createRequestcomputeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic LpsRouteClient()
public LpsRouteClient(BceClientConfiguration configuration)
configuration - BceClientConfigurationpublic UploadRouteResponse uploadRouteInfo(UploadRouteRequest request)
request - UploadRouteRequestpublic ListRouteResponse listRouteInfo(int pageNo, int pageSize)
pageNo - pageSize - public void deleteRouteInfo(String routeId)
routeId - Copyright © 2024. All rights reserved.