Interface Deployment.UpdateStages.WithTemplate
- All Known Subinterfaces:
Deployment.Update
- Enclosing interface:
- Deployment.UpdateStages
public static interface Deployment.UpdateStages.WithTemplate
A deployment update allowing to change the template.
-
Method Summary
Modifier and TypeMethodDescriptionwithTemplate
(Object template) Specifies the template as a Java object.withTemplate
(String templateJson) Specifies the template as a JSON string.withTemplateLink
(String uri, String contentVersion) Specifies the template as a URL.
-
Method Details
-
withTemplate
Specifies the template as a Java object.- Parameters:
template
- the Java object- Returns:
- the next stage of the deployment update
-
withTemplate
Specifies the template as a JSON string.- Parameters:
templateJson
- the JSON string- Returns:
- the next stage of the deployment update
- Throws:
IOException
- exception thrown from serialization/deserialization
-
withTemplateLink
Specifies the template as a URL.- Parameters:
uri
- the location of the remote template filecontentVersion
- the version of the template file- Returns:
- the next stage of the deployment update
-