public class RoutePolicyEntry extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
RoutePolicyEntry()  | 
RoutePolicyEntry(RoutePolicyEntry source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAction()
Get Action. 
 | 
String | 
getCidrBlock()
Get Destination ip range. 
 | 
String | 
getCreatedTime()
Get Creation time. 
 | 
String | 
getDescription()
Get Describes the routing strategy rule. 
 | 
String | 
getGatewayId()
Get Gateway unique ID. 
 | 
String | 
getGatewayType()
Get Next hop type. 
 | 
Long | 
getPriority()
Get Priority. 
 | 
String | 
getRegion()
Get Specifies the region. 
 | 
String | 
getRoutePolicyEntryId()
Get Specifies the unique ID of the IPv4 routing strategy entry. 
 | 
String | 
getRouteType()
Get Routing Type
Specifies the USER-customized data type. 
 | 
void | 
setAction(String Action)
Set Action. 
 | 
void | 
setCidrBlock(String CidrBlock)
Set Destination ip range. 
 | 
void | 
setCreatedTime(String CreatedTime)
Set Creation time. 
 | 
void | 
setDescription(String Description)
Set Describes the routing strategy rule. 
 | 
void | 
setGatewayId(String GatewayId)
Set Gateway unique ID. 
 | 
void | 
setGatewayType(String GatewayType)
Set Next hop type. 
 | 
void | 
setPriority(Long Priority)
Set Priority. 
 | 
void | 
setRegion(String Region)
Set Specifies the region. 
 | 
void | 
setRoutePolicyEntryId(String RoutePolicyEntryId)
Set Specifies the unique ID of the IPv4 routing strategy entry. 
 | 
void | 
setRouteType(String RouteType)
Set Routing Type
Specifies the USER-customized data type. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RoutePolicyEntry()
public RoutePolicyEntry(RoutePolicyEntry source)
public String getRoutePolicyEntryId()
public void setRoutePolicyEntryId(String RoutePolicyEntryId)
RoutePolicyEntryId - Specifies the unique ID of the IPv4 routing strategy entry.
Note: This field may return null, indicating that no valid value was found.public String getCidrBlock()
public void setCidrBlock(String CidrBlock)
CidrBlock - Destination ip range.
Note: This field may return null, indicating that no valid value was found.public String getDescription()
public void setDescription(String Description)
Description - Describes the routing strategy rule.
Note: This field may return null, indicating that no valid value was found.public String getRouteType()
public void setRouteType(String RouteType)
RouteType - Routing Type
Specifies the USER-customized data type.
NETD: specifies the route for network detection.
CCN: CCN route.
Note: This field may return null, indicating that no valid value was found.public String getGatewayType()
public void setGatewayType(String GatewayType)
GatewayType - Next hop type. types currently supported:.
CVM: cloud virtual machine with public network gateway type.
VPN: vpn gateway.
DIRECTCONNECT: direct connect gateway.
PEERCONNECTION: peering connection.
HAVIP: high availability virtual ip.
NAT: specifies the nat gateway. 
EIP: specifies the public ip address of the cloud virtual machine.
LOCAL_GATEWAY: specifies the local gateway.
PVGW: pvgw gateway.
Note: This field may return null, indicating that no valid value was found.public String getGatewayId()
public void setGatewayId(String GatewayId)
GatewayId - Gateway unique ID.
Note: This field may return null, indicating that no valid value was found.public Long getPriority()
public void setPriority(Long Priority)
Priority - Priority. a smaller value indicates a higher priority.
Note: This field may return null, indicating that no valid value was found.public String getAction()
public void setAction(String Action)
Action - Action.
DROP: drop.
DISABLE: receive and disable.
ACCEPT: receive and enable.
Note: This field may return null, indicating that no valid value was found.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - Creation time.
Note: This field may return null, indicating that no valid value was found.public String getRegion()
public void setRegion(String Region)
Region - Specifies the region.
Note: This field may return null, indicating that no valid value was found.Copyright © 2025. All rights reserved.