com.cloudera.api.model
Class ApiRoleConfigGroup

java.lang.Object
  extended by com.cloudera.api.model.ApiRoleConfigGroup

public class ApiRoleConfigGroup
extends Object

A role config group contains roles of the same role type sharing the same configuration. While each role has to belong to a group, a role config group may be empty. There exists a default role config group for each role type. Default groups cannot be removed nor created. The name of a role config group is unique and cannot be changed. The configuration of individual roles may be overridden on role level.


Constructor Summary
ApiRoleConfigGroup()
           
 
Method Summary
 boolean equals(Object o)
           
 ApiConfigList getConfig()
          The configuration for this group.
 String getDisplayName()
          The display name of this group.
 String getName()
          Readonly.
 String getRoleType()
          Readonly.
 ApiServiceRef getServiceRef()
          Readonly.
 int hashCode()
           
 boolean isBase()
          Readonly.
 void setBase(boolean base)
           
 void setConfig(ApiConfigList config)
           
 void setDisplayName(String displayName)
           
 void setName(String name)
           
 void setRoleType(String roleType)
           
 void setServiceRef(ApiServiceRef serviceRef)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiRoleConfigGroup

public ApiRoleConfigGroup()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getName

public String getName()
Readonly. The unique name of this role config group.


setName

public void setName(String name)

getRoleType

public String getRoleType()
Readonly. The type of the roles in this group.


setRoleType

public void setRoleType(String roleType)

isBase

public boolean isBase()
Readonly. Indicates whether this is a base group.


setBase

public void setBase(boolean base)

getConfig

public ApiConfigList getConfig()
The configuration for this group. Optional.


setConfig

public void setConfig(ApiConfigList config)

getDisplayName

public String getDisplayName()
The display name of this group.


setDisplayName

public void setDisplayName(String displayName)

getServiceRef

public ApiServiceRef getServiceRef()
Readonly. The service reference (service name and cluster name) of this group.


setServiceRef

public void setServiceRef(ApiServiceRef serviceRef)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.