public void deleteRouteRule ( DeleteRouteRequest deleteRouteRequest ) { checkNotNull ( deleteRouteRequest , "request should not be null." ) ; checkNotNull ( deleteRouteRequest . getRouteRuleId ( ) , "request routeRuleId should not be null." ) ; if ( Strings . isNullOrEmpty ( deleteRouteRequest . getClientToken ( ) ) ) { deleteRouteRequest . setClientToken ( this . generateClientToken ( ) ) ; } InternalRequest internalRequest = this . createRequest ( deleteRouteRequest , HttpMethodName . DELETE , ROUTE_PREFIX , ROUTE_RULE , deleteRouteRequest . getRouteRuleId ( ) ) ; internalRequest . addParameter ( "clientToken" , deleteRouteRequest . getClientToken ( ) ) ; this . invokeHttpClient ( internalRequest , AbstractBceResponse . class ) ; }
Delete the specific route rule