Interface Deployment.DefinitionStages.WithParameters
-
- All Known Subinterfaces:
Deployment.Definition
- Enclosing interface:
- Deployment.DefinitionStages
public static interface Deployment.DefinitionStages.WithParametersA deployment definition allowing the parameters to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Deployment.DefinitionStages.WithModewithParameters(Object parameters)Specifies the parameters as a Java object.Deployment.DefinitionStages.WithModewithParameters(String parametersJson)Specifies the parameters as a JSON string.Deployment.DefinitionStages.WithModewithParametersLink(String uri, String contentVersion)Specifies the parameters as a URL.
-
-
-
Method Detail
-
withParameters
Deployment.DefinitionStages.WithMode withParameters(Object parameters)
Specifies the parameters as a Java object.- Parameters:
parameters- the Java object- Returns:
- the next stage of the definition
-
withParameters
Deployment.DefinitionStages.WithMode withParameters(String parametersJson) throws IOException
Specifies the parameters as a JSON string.- Parameters:
parametersJson- the JSON string- Returns:
- the next stage of the definition
- Throws:
IOException- exception thrown from serialization/deserialization
-
withParametersLink
Deployment.DefinitionStages.WithMode withParametersLink(String uri, String contentVersion)
Specifies the parameters as a URL.- Parameters:
uri- the location of the remote parameters filecontentVersion- the version of the parameters file- Returns:
- the next stage of the definition
-
-