Interface SpringApp.DefinitionStages.WithServiceBinding
- All Known Subinterfaces:
SpringApp.Definition,SpringApp.DefinitionStages.WithCreate
- Enclosing interface:
- SpringApp.DefinitionStages
public static interface SpringApp.DefinitionStages.WithServiceBinding
The stage of a spring app definition allowing to specify the service binding.
-
Method Summary
Modifier and TypeMethodDescriptionwithoutServiceBinding(String name) Removes a service binding for the spring app.withServiceBinding(String name, BindingResourceProperties bindingProperties) Specifies a service binding for the spring app.
-
Method Details
-
withServiceBinding
SpringApp.DefinitionStages.WithCreate withServiceBinding(String name, BindingResourceProperties bindingProperties) Specifies a service binding for the spring app.- Parameters:
name- the service binding namebindingProperties- the property for the service binding- Returns:
- the next stage of spring app definition
-
withoutServiceBinding
Removes a service binding for the spring app.- Parameters:
name- the service binding name- Returns:
- the next stage of spring app definition
-