|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiHostTemplate
public class ApiHostTemplate
A host template belongs to a cluster and contains a set of role config groups for slave roles (such as DataNodes and TaskTrackers) from services in the cluster. At most one role config group per role type can be present in a host template. Host templates can be applied to fresh hosts (those with no roles on them) in order to create a role for each of the role groups on each host.
Constructor Summary | |
---|---|
ApiHostTemplate()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
ApiClusterRef |
getClusterRef()
Readonly. |
String |
getName()
The name of the host template. |
List<ApiRoleConfigGroupRef> |
getRoleConfigGroupRefs()
The role config groups belonging to this host tempalte. |
int |
hashCode()
|
void |
setClusterRef(ApiClusterRef clusterRef)
|
void |
setName(String name)
|
void |
setRoleConfigGroups(List<ApiRoleConfigGroupRef> roleConfigGroupRefs)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApiHostTemplate()
Method Detail |
---|
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName()
public void setName(String name)
public ApiClusterRef getClusterRef()
public void setClusterRef(ApiClusterRef clusterRef)
public List<ApiRoleConfigGroupRef> getRoleConfigGroupRefs()
public void setRoleConfigGroups(List<ApiRoleConfigGroupRef> roleConfigGroupRefs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |