|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.route.model.CreateRouteRequest
public class CreateRouteRequest
Created by zhangjing60 on 17/8/2.
Constructor Summary | |
---|---|
CreateRouteRequest()
|
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 |
---|
public CreateRouteRequest()
Method Detail |
---|
public String getVersion()
public void setVersion(String version)
public String getClientToken()
public void setClientToken(String clientToken)
public String getSourceAddress()
public void setSourceAddress(String sourceAddress)
public String getDestinationAddress()
public void setDestinationAddress(String destinationAddress)
public String getNexthopId()
public void setNexthopId(String nexthopId)
public String getNexthopType()
public void setNexthopType(String nexthopType)
public String getDescription()
public void setDescription(String description)
public String getRouteTableId()
public void setRouteTableId(String routeTableId)
public CreateRouteRequest withVersion(String version)
public CreateRouteRequest withClientToken(String clientToken)
clientToken
- An ASCII string whose length is less than 64.
See more detail at
public CreateRouteRequest withRouteTableId(String routeTableId)
routeTableId
- the id of the route table
public CreateRouteRequest withSourceAddress(String sourceAddress)
sourceAddress
- the source address
public CreateRouteRequest withDestinationAddress(String destinationAddress)
destinationAddress
- the destination address
public CreateRouteRequest withNextHopId(String nexthopId)
nexthopId
- the next hop id
public CreateRouteRequest withNextHopType(String nexthopType)
nexthopType
- the route type: BCC-"custom", VPN-"vpn", NAT-"nat"
public CreateRouteRequest withDescription(String description)
description
- the description for the route table
public CreateRouteRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials
in class AbstractBceRequest
credentials
- a valid instance of BceCredentials.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |