![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.eas20210701.models.CreateServiceMirrorRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eas20210701 Show documentation
Show all versions of eas20210701 Show documentation
Alibaba Cloud eas (20210701) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eas20210701.models;
import com.aliyun.tea.*;
public class CreateServiceMirrorRequest extends TeaModel {
/**
* The percentage of the traffic that is mirrored to the destination service. Valid values: 0 to 100.
*
* example:
* 30
*/
@NameInMap("Ratio")
public Integer ratio;
/**
* The instances.
*/
@NameInMap("Target")
public java.util.List target;
public static CreateServiceMirrorRequest build(java.util.Map map) throws Exception {
CreateServiceMirrorRequest self = new CreateServiceMirrorRequest();
return TeaModel.build(map, self);
}
public CreateServiceMirrorRequest setRatio(Integer ratio) {
this.ratio = ratio;
return this;
}
public Integer getRatio() {
return this.ratio;
}
public CreateServiceMirrorRequest setTarget(java.util.List target) {
this.target = target;
return this;
}
public java.util.List getTarget() {
return this.target;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy