public class CloneServiceShrinkRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
body
The request body.
|
String |
labelsShrink |
| 构造器和说明 |
|---|
CloneServiceShrinkRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CloneServiceShrinkRequest |
build(Map<String,?> map) |
String |
getBody() |
String |
getLabelsShrink() |
CloneServiceShrinkRequest |
setBody(String body) |
CloneServiceShrinkRequest |
setLabelsShrink(String labelsShrink) |
@NameInMap(value="Labels") public String labelsShrink
@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 CloneServiceShrinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic CloneServiceShrinkRequest setLabelsShrink(String labelsShrink)
public String getLabelsShrink()
public CloneServiceShrinkRequest setBody(String body)
public String getBody()
Copyright © 2024. All rights reserved.