com.aliyun.eas20210701.models.DescribeServiceMirrorResponseBody 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eas20210701.models;
import com.aliyun.tea.*;
public class DescribeServiceMirrorResponseBody extends TeaModel {
/**
* The percentage of traffic that you want to mirror. Valid values: 0 to 100.
*
* example:
* 50
*/
@NameInMap("Ratio")
public String ratio;
/**
* The request ID.
*
* example:
* 40325405-579C-4D82****
*/
@NameInMap("RequestId")
public String requestId;
/**
* The service name.
*
* example:
* foo
*/
@NameInMap("ServiceName")
public String serviceName;
/**
* The destination services to which you want to mirror traffic.
*
* example:
* foo2,foo3
*/
@NameInMap("Target")
public String target;
public static DescribeServiceMirrorResponseBody build(java.util.Map map) throws Exception {
DescribeServiceMirrorResponseBody self = new DescribeServiceMirrorResponseBody();
return TeaModel.build(map, self);
}
public DescribeServiceMirrorResponseBody setRatio(String ratio) {
this.ratio = ratio;
return this;
}
public String getRatio() {
return this.ratio;
}
public DescribeServiceMirrorResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeServiceMirrorResponseBody setServiceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
public String getServiceName() {
return this.serviceName;
}
public DescribeServiceMirrorResponseBody setTarget(String target) {
this.target = target;
return this;
}
public String getTarget() {
return this.target;
}
}