Interface Deployment.DefinitionStages.WithTemplate
-
- All Known Subinterfaces:
Deployment.Definition
- Enclosing interface:
- Deployment.DefinitionStages
public static interface Deployment.DefinitionStages.WithTemplateA deployment definition allowing the template to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Deployment.DefinitionStages.WithParameterswithTemplate(Object template)Specifies the template as a Java object.Deployment.DefinitionStages.WithParameterswithTemplate(String templateJson)Specifies the template as a JSON string.Deployment.DefinitionStages.WithParameterswithTemplateLink(String uri, String contentVersion)Specifies the template as a URL.
-
-
-
Method Detail
-
withTemplate
Deployment.DefinitionStages.WithParameters withTemplate(Object template)
Specifies the template as a Java object.- Parameters:
template- the Java object- Returns:
- the next stage of the definition
-
withTemplate
Deployment.DefinitionStages.WithParameters withTemplate(String templateJson) throws IOException
Specifies the template as a JSON string.- Parameters:
templateJson- the JSON string- Returns:
- the next stage of the definition
- Throws:
IOException- exception thrown from serialization/deserialization
-
withTemplateLink
Deployment.DefinitionStages.WithParameters withTemplateLink(String uri, String contentVersion)
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 definition
-
-