public static class CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
nextHopId
The ID of the next hop of the ECMP route.
|
String |
nextHopType
The type of next hop of the ECMP route entry.
|
Integer |
weight
The weight of the next hop of the ECMP route entry.
|
构造器和说明 |
---|
CreateRouteEntryRequestNextHopList() |
限定符和类型 | 方法和说明 |
---|---|
static CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList |
build(Map<String,?> map) |
String |
getNextHopId() |
String |
getNextHopType() |
Integer |
getWeight() |
CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList |
setNextHopId(String nextHopId) |
CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList |
setNextHopType(String nextHopType) |
CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList |
setWeight(Integer weight) |
@NameInMap(value="NextHopId") public String nextHopId
The ID of the next hop of the ECMP route.
example:ri-2zeo3xzyf3cd8r4****
@NameInMap(value="NextHopType") public String nextHopType
The type of next hop of the ECMP route entry. Set the value to RouterInterface.
example:RouterInterface
@NameInMap(value="Weight") public Integer weight
The weight of the next hop of the ECMP route entry.
example:10
public static CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList build(Map<String,?> map) throws Exception
Exception
public CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList setNextHopId(String nextHopId)
public String getNextHopId()
public CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList setNextHopType(String nextHopType)
public String getNextHopType()
public CreateRouteEntryRequest.CreateRouteEntryRequestNextHopList setWeight(Integer weight)
public Integer getWeight()
Copyright © 2024. All rights reserved.