public class ReleaseServiceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
trafficState
The traffic state.
|
Integer |
weight
The weight of the canary release.
|
| 构造器和说明 |
|---|
ReleaseServiceRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ReleaseServiceRequest |
build(Map<String,?> map) |
String |
getTrafficState() |
Integer |
getWeight() |
ReleaseServiceRequest |
setTrafficState(String trafficState) |
ReleaseServiceRequest |
setWeight(Integer weight) |
@NameInMap(value="TrafficState") public String trafficState
The traffic state. Valid values:
grouping
@NameInMap(value="Weight") public Integer weight
The weight of the canary release. Valid values: 0 to 100.
example:100
public static ReleaseServiceRequest build(Map<String,?> map) throws Exception
Exceptionpublic ReleaseServiceRequest setTrafficState(String trafficState)
public String getTrafficState()
public ReleaseServiceRequest setWeight(Integer weight)
public Integer getWeight()
Copyright © 2024. All rights reserved.