public class CloneServiceRequest
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
CloneServiceRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CloneServiceRequest |
build(Map<String,?> map) |
String |
getBody() |
Map<String,String> |
getLabels() |
CloneServiceRequest |
setBody(String body) |
CloneServiceRequest |
setLabels(Map<String,String> labels) |
@NameInMap(value="body") public String body
The request body. For more information, see CreateService.
example:{ "name": "foo", "model_path": "http://path/to/model.tar.gz", "processor": "tensorflow_cpu", "metadata": { "instance": 2, "memory": 7000, "cpu": 4 } }
public static CloneServiceRequest build(Map<String,?> map) throws Exception
Exceptionpublic CloneServiceRequest setLabels(Map<String,String> labels)
public CloneServiceRequest setBody(String body)
public String getBody()
Copyright © 2024. All rights reserved.