public class NacosStarterBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
NacosStarter |
build()
Build nacos starter.
|
static NacosStarterBuilder |
nacosStarter()
Nacos starter nacos starter builder.
|
NacosStarterBuilder |
withDownloadPath(Path downloadPath)
With download path nacos starter builder.
|
NacosStarterBuilder |
withHost(String host) |
NacosStarterBuilder |
withNacosTokenSecretKey(String nacosTokenSecretKey) |
NacosStarterBuilder |
withNacosVersion(String nacosVersion)
With nacos version nacos starter builder.
|
NacosStarterBuilder |
withServerPort(int serverPort)
With server port nacos starter builder.
|
public static NacosStarterBuilder nacosStarter()
public NacosStarterBuilder withDownloadPath(Path downloadPath)
downloadPath - the download pathpublic NacosStarterBuilder withNacosVersion(String nacosVersion)
nacosVersion - the nacos versionpublic NacosStarterBuilder withHost(String host)
public NacosStarterBuilder withServerPort(int serverPort)
serverPort - the server portpublic NacosStarterBuilder withNacosTokenSecretKey(String nacosTokenSecretKey)
public NacosStarter build()
Copyright © 2023. All rights reserved.