public class UpdateServiceMirrorRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
ratio
The percentage of traffic that you want to mirror.
|
List<String> |
target
The service instances.
|
| 构造器和说明 |
|---|
UpdateServiceMirrorRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateServiceMirrorRequest |
build(Map<String,?> map) |
Integer |
getRatio() |
List<String> |
getTarget() |
UpdateServiceMirrorRequest |
setRatio(Integer ratio) |
UpdateServiceMirrorRequest |
setTarget(List<String> target) |
@NameInMap(value="Ratio") public Integer ratio
The percentage of traffic that you want to mirror. Valid values: 0 to 100.
example:30
public static UpdateServiceMirrorRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateServiceMirrorRequest setRatio(Integer ratio)
public Integer getRatio()
public UpdateServiceMirrorRequest setTarget(List<String> target)
Copyright © 2024. All rights reserved.