com.aliyun.eas20210701.models.CreateBenchmarkTaskRequest 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 CreateBenchmarkTaskRequest extends TeaModel {
/**
* The request body. The body includes the parameters that are set to create a stress testing task.
*
* example:
* {
* "base": {
* "duration": 600
* },
* "service": {
* "serviceName": "test_service",
* "requestToken": "test_token"
* },
* "data": {
* "path": "https://larec-benchmark-cd.oss-cn-chengdu.aliyuncs.com/youbei/sv_dbmtl/data/youbei.warmup.tf.bin",
* "dataType": "binary"
* },
* "optional": {
* "maxRt": 100
* }
* }
*/
@NameInMap("body")
public String body;
public static CreateBenchmarkTaskRequest build(java.util.Map map) throws Exception {
CreateBenchmarkTaskRequest self = new CreateBenchmarkTaskRequest();
return TeaModel.build(map, self);
}
public CreateBenchmarkTaskRequest setBody(String body) {
this.body = body;
return this;
}
public String getBody() {
return this.body;
}
}