com.baidubce.services.route.model
Class GetRouteRequest

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

public class GetRouteRequest
extends AbstractBceRequest

Created by zhangjing60 on 17/8/2.


Constructor Summary
GetRouteRequest()
           
 
Method Summary
 String getRouteTableId()
           
 String getVersion()
           
 String getVpcId()
           
 void setRouteTableId(String routeTableId)
           
 void setVersion(String version)
           
 void setVpcId(String vpcId)
           
 GetRouteRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 GetRouteRequest withRouteTableId(String routeTableId)
          configure routeTableId for the request
 GetRouteRequest withVersion(String version)
          Configure the version for the request
 GetRouteRequest withVpcId(String vpcId)
          configure vpcId 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

GetRouteRequest

public GetRouteRequest()
Method Detail

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getRouteTableId

public String getRouteTableId()

setRouteTableId

public void setRouteTableId(String routeTableId)

getVpcId

public String getVpcId()

setVpcId

public void setVpcId(String vpcId)

withVersion

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

Parameters:
version - the API version number

withRouteTableId

public GetRouteRequest withRouteTableId(String routeTableId)
configure routeTableId for the request

Parameters:
routeTableId - the id of the route table

withVpcId

public GetRouteRequest withVpcId(String vpcId)
configure vpcId for the request

Parameters:
vpcId - the vpcId

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.