public class ExportBlueprintRequest.ExportedHostGroup extends Object
Constructor and Description |
---|
ExportedHostGroup(TreeNode<Resource> host)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addHost(String host)
Add a host.
|
boolean |
equals(Object o) |
int |
getCardinality()
Obtain the number of instances associated with this host group.
|
Set<String> |
getComponents() |
Configuration |
getConfiguration() |
Collection<org.apache.ambari.server.controller.internal.ExportBlueprintRequest.ExportedConfiguration> |
getConfigurations()
Obtain associated host group scoped configurations.
|
Collection<String> |
getHostInfo() |
String |
getName() |
int |
hashCode() |
void |
incrementCardinality()
Increment the cardinality count by one.
|
void |
setName(String name)
Set the name.
|
public Configuration getConfiguration()
public String getName()
public Collection<String> getHostInfo()
public void setName(String name)
name
- name of host grouppublic void addHost(String host)
host
- host to addpublic Collection<org.apache.ambari.server.controller.internal.ExportBlueprintRequest.ExportedConfiguration> getConfigurations()
public int getCardinality()
public void incrementCardinality()
Copyright © 2022 Apache Software Foundation. All rights reserved.