com.baidubce.services.route.model
Class DeleteRouteRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.route.model.DeleteRouteRequest

public class DeleteRouteRequest
extends AbstractBceRequest

Created by zhangjing60 on 17/8/2.


Constructor Summary
DeleteRouteRequest()
           
 
Method Summary
 String getClientToken()
           
 String getRouteRuleId()
           
 String getVersion()
           
 void setClientToken(String clientToken)
           
 void setRouteRuleId(String routeRuleId)
           
 void setVersion(String version)
           
 DeleteRouteRequest withClientToken(String clientToken)
          Configure optional client token for the request.
 DeleteRouteRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 DeleteRouteRequest withRouteRuleId(String routeRuleId)
          Configure route rule id for the request
 DeleteRouteRequest withVersion(String version)
          Configure the version for the request
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteRouteRequest

public DeleteRouteRequest()
Method Detail

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)

getRouteRuleId

public String getRouteRuleId()

setRouteRuleId

public void setRouteRuleId(String routeRuleId)

withVersion

public DeleteRouteRequest withVersion(String version)
Configure the version for the request

Parameters:
version - the API version number
Returns:
DeleteRouteRequest with version

withClientToken

public DeleteRouteRequest withClientToken(String clientToken)
Configure optional client token for the request. The request will be idempotent if client token is provided.

Parameters:
clientToken - An ASCII string whose length is less than 64. See more detail at
Returns:
DeleteRouteRequest with client token

withRouteRuleId

public DeleteRouteRequest withRouteRuleId(String routeRuleId)
Configure route rule id for the request

Parameters:
routeRuleId - the id of the route rule
Returns:
DeleteRouteRequest routeRuleId

withRequestCredentials

public DeleteRouteRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
DeleteRouteRequest with credentials.


Copyright © 2018. All rights reserved.