com.baidubce.services.bmr.model
Class ZookeeperApplicationConfig
java.lang.Object
com.baidubce.services.bmr.model.ApplicationConfig
com.baidubce.services.bmr.model.ZookeeperApplicationConfig
public class ZookeeperApplicationConfig
- extends ApplicationConfig
Represent a Zookeeper application.
A Zookeeper application can be configured with property of version.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZookeeperApplicationConfig
public ZookeeperApplicationConfig()
withVersion
public ZookeeperApplicationConfig withVersion(String version)
- Configure the version of Zookeeper.
The reference version is as follows:
image type | image version | zookeeper version supported
hadoop | 1.0.0/1.1.0/1.2.0/2.0.0 | 3.4.6
- Parameters:
version - The version of Zookeeper.
- Returns:
- ZookeeperApplicationConfig
Copyright © 2020. All rights reserved.