public static interface Deployment.DefinitionStages.WithTemplate
Modifier and Type | Method and Description |
---|---|
Deployment.DefinitionStages.WithParameters |
withTemplate(Object template)
Specifies the template as a Java object.
|
Deployment.DefinitionStages.WithParameters |
withTemplate(String templateJson)
Specifies the template as a JSON string.
|
Deployment.DefinitionStages.WithParameters |
withTemplateLink(String uri,
String contentVersion)
Specifies the template as a URL.
|
Deployment.DefinitionStages.WithParameters withTemplate(Object template)
template
- the Java objectDeployment.DefinitionStages.WithParameters withTemplate(String templateJson) throws IOException
templateJson
- the JSON stringIOException
- exception thrown from serialization/deserializationDeployment.DefinitionStages.WithParameters withTemplateLink(String uri, String contentVersion)
uri
- the location of the remote template filecontentVersion
- the version of the template fileCopyright © 2019. All rights reserved.