@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class ReplaceLabelsOnNodeRequest extends Object
Constructor and Description |
---|
ReplaceLabelsOnNodeRequest() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
getFailOnUnknownNodes() |
abstract Map<NodeId,Set<String>> |
getNodeToLabels() |
abstract String |
getSubClusterId()
Get the subClusterId.
|
static ReplaceLabelsOnNodeRequest |
newInstance(Map<NodeId,Set<String>> map) |
static ReplaceLabelsOnNodeRequest |
newInstance(Map<NodeId,Set<String>> map,
String subClusterId) |
abstract void |
setFailOnUnknownNodes(boolean failOnUnknownNodes) |
abstract void |
setNodeToLabels(Map<NodeId,Set<String>> map) |
abstract void |
setSubClusterId(String subClusterId)
Set the subClusterId.
|
public static ReplaceLabelsOnNodeRequest newInstance(Map<NodeId,Set<String>> map)
public static ReplaceLabelsOnNodeRequest newInstance(Map<NodeId,Set<String>> map, String subClusterId)
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract void setNodeToLabels(Map<NodeId,Set<String>> map)
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract Map<NodeId,Set<String>> getNodeToLabels()
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract void setFailOnUnknownNodes(boolean failOnUnknownNodes)
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract boolean getFailOnUnknownNodes()
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract String getSubClusterId()
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract void setSubClusterId(String subClusterId)
subClusterId
- subCluster Id.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.