|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.route.RouteClient
public class RouteClient
Created by zhangjing60 on 17/8/2.
Field Summary |
---|
Fields inherited from class com.baidubce.AbstractBceClient |
---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
Constructor Summary | |
---|---|
RouteClient()
Constructs a new client to invoke service methods on network. |
|
RouteClient(BceClientConfiguration clientConfiguration)
Constructs a new network client using the client configuration to access network. |
Method Summary | |
---|---|
CreateRouteResponse |
createRoute(CreateRouteRequest request)
Create a route with the specified options. |
void |
deleteRouteRule(DeleteRouteRequest deleteRouteRequest)
Delete the specific route rule |
void |
deleteRouteRule(String routeRuleId)
Delete the specific route rule |
GetRouteResponse |
getRoute(String routeTableId,
String vpcId)
Get the detail information of route table for specific route table or/and vpc |
Methods inherited from class com.baidubce.AbstractBceClient |
---|
getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RouteClient()
public RouteClient(BceClientConfiguration clientConfiguration)
clientConfiguration
- The network client configuration options controlling how this client
connects to network (e.g. proxy settings, retry counts, etc).Method Detail |
---|
public CreateRouteResponse createRoute(CreateRouteRequest request) throws BceClientException
request
- The request containing all options for creating subnet.
BceClientException
public GetRouteResponse getRoute(String routeTableId, String vpcId)
routeTableId
- id of route table, routeTableId and vpcId cannot be empty at the same timevpcId
- vpcId, routeTableId and vpcId cannot be empty at the same time
public void deleteRouteRule(String routeRuleId)
routeRuleId
- public void deleteRouteRule(DeleteRouteRequest deleteRouteRequest)
deleteRouteRequest
- the request containing all options for deleting route rule.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |