Deployment.UpdateStages.WithTemplate.withTemplate 方法
定义
重载
withTemplate(Object template) |
Specifies the template as a Java object.
|
withTemplate(String templateJson) |
Specifies the template as a JSON string.
|
withTemplate(Object template)
Specifies the template as a Java object.
public Update withTemplate(Object template)
参数
- template
- Object
the Java object
返回
the next stage of the deployment update
withTemplate(String templateJson)
Specifies the template as a JSON string.
public Update withTemplate(String templateJson)
参数
- templateJson
- String
the JSON string
返回
the next stage of the deployment update
例外
IOException
exception thrown from serialization/deserialization