Interface SpringService.UpdateStages.WithConfiguration
- All Known Subinterfaces:
SpringService.Update
- Enclosing interface:
SpringService.UpdateStages
public static interface SpringService.UpdateStages.WithConfiguration
The stage of a spring service update allowing to specify the server configuration.
-
Method Summary
Modifier and TypeMethodDescriptionwithDefaultGitRepository(String uri, String branch, List<String> filePatterns) (Enterprise Tier Only) Specifies the default git repository for the spring service.withGitConfig(ConfigServerGitProperty gitConfig) (Basic/Standard Tier Only) Specifies the git repository for the spring service.(Enterprise Tier Only) Specifies additional git repository for the spring service.(Enterprise Tier Only) Specifies complete git repository configuration for the spring service.withGitUri(String uri) (Basic/Standard Tier Only) Specifies the git repository for the spring service.withGitUriAndCredential(String uri, String username, String password) (Basic/Standard Tier Only) Specifies the git repository for the spring service.(Basic/Standard Tier Only) Removes the git configuration.(Enterprise Tier Only) Removes the git repository configuration.withoutGitRepository(String name) (Enterprise Tier Only) Removes git repository with specified name.
-
Method Details
-
withGitUri
(Basic/Standard Tier Only) Specifies the git repository for the spring service.- Parameters:
uri- the uri of the git repository- Returns:
- the next stage of spring service update
-
withGitUriAndCredential
(Basic/Standard Tier Only) Specifies the git repository for the spring service.- Parameters:
uri- the uri of the git repositoryusername- the username of the private git repositorypassword- the password of the private git repository- Returns:
- the next stage of spring service update
-
withGitConfig
(Basic/Standard Tier Only) Specifies the git repository for the spring service.- Parameters:
gitConfig- the configuration of the git repository- Returns:
- the next stage of spring service update
-
withoutGitConfig
SpringService.Update withoutGitConfig()(Basic/Standard Tier Only) Removes the git configuration.- Returns:
- the next stage of spring service update
-
withDefaultGitRepository
(Enterprise Tier Only) Specifies the default git repository for the spring service.- Parameters:
uri- the uri of the git repositorybranch- branch of the git repositoryfilePatterns- patterns for configuration files to be selected from the git repository- Returns:
- the next stage of spring service update
-
withGitRepository
SpringService.Update withGitRepository(String name, String uri, String branch, List<String> filePatterns) (Enterprise Tier Only) Specifies additional git repository for the spring service. New repository configurations will override the old with the same name.- Parameters:
name- the name of the git repositoryuri- the uri of the git repositorybranch- branch of the git repositoryfilePatterns- patterns for configuration files to be selected from the git repository- Returns:
- the next stage of spring service update
-
withGitRepositoryConfig
(Enterprise Tier Only) Specifies complete git repository configuration for the spring service. New repository configurations will override the old with the same name.- Parameters:
gitConfig- git repository configuration- Returns:
- the next stage of spring service update
-
withoutGitRepository
(Enterprise Tier Only) Removes git repository with specified name.- Parameters:
name- name of the git repository to remove- Returns:
- the next stage of spring service update
-
withoutGitRepositories
SpringService.Update withoutGitRepositories()(Enterprise Tier Only) Removes the git repository configuration.- Returns:
- the next stage of spring service update
-