All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.eas20210701.models.CreateBenchmarkTaskRequest Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
// 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy