@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-12-13T13:57:16.085Z") public class ApiAddSBNNToNSArguments extends Object
Constructor and Description |
---|
ApiAddSBNNToNSArguments() |
Modifier and Type | Method and Description |
---|---|
ApiAddSBNNToNSArguments |
addNewNNHostIdsItem(String newNNHostIdsItem) |
ApiAddSBNNToNSArguments |
clearDataDirs(Boolean clearDataDirs) |
boolean |
equals(Object o) |
Boolean |
getClearDataDirs()
Specifies whether the NameNode Data Directories configured should be cleared as a first step, or the command should fail if the directories specified are not empty.
|
String |
getNameServiceName()
The name of the NameService to which the new NameNode(s) should be added.
|
Map<String,String> |
getNewNNDataDirs()
Mapping of NameNode Data Directories list to host id(s), key is the host id, the value is a comma separated list of directories to be set as NameNode Data Directories for the new NameNode(s).
|
List<String> |
getNewNNHostIds()
List of host ids to which new NameNode(s) should be added.
|
Boolean |
getRestartCluster()
Specifies whether the HDFS dependent services of the cluster should be restarted after the changes are applied, to reconfigure dependent services
|
int |
hashCode() |
ApiAddSBNNToNSArguments |
nameServiceName(String nameServiceName) |
ApiAddSBNNToNSArguments |
newNNDataDirs(Map<String,String> newNNDataDirs) |
ApiAddSBNNToNSArguments |
newNNHostIds(List<String> newNNHostIds) |
ApiAddSBNNToNSArguments |
putNewNNDataDirsItem(String key,
String newNNDataDirsItem) |
ApiAddSBNNToNSArguments |
restartCluster(Boolean restartCluster) |
void |
setClearDataDirs(Boolean clearDataDirs) |
void |
setNameServiceName(String nameServiceName) |
void |
setNewNNDataDirs(Map<String,String> newNNDataDirs) |
void |
setNewNNHostIds(List<String> newNNHostIds) |
void |
setRestartCluster(Boolean restartCluster) |
String |
toString() |
public ApiAddSBNNToNSArguments nameServiceName(String nameServiceName)
public String getNameServiceName()
public void setNameServiceName(String nameServiceName)
public ApiAddSBNNToNSArguments newNNHostIds(List<String> newNNHostIds)
public ApiAddSBNNToNSArguments addNewNNHostIdsItem(String newNNHostIdsItem)
public List<String> getNewNNHostIds()
public ApiAddSBNNToNSArguments newNNDataDirs(Map<String,String> newNNDataDirs)
public ApiAddSBNNToNSArguments putNewNNDataDirsItem(String key, String newNNDataDirsItem)
public Map<String,String> getNewNNDataDirs()
public ApiAddSBNNToNSArguments clearDataDirs(Boolean clearDataDirs)
public Boolean getClearDataDirs()
public void setClearDataDirs(Boolean clearDataDirs)
public ApiAddSBNNToNSArguments restartCluster(Boolean restartCluster)
public Boolean getRestartCluster()
public void setRestartCluster(Boolean restartCluster)
Copyright © 2022. All rights reserved.