public class ApiRole extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ApiRole.HaStatus |
static class |
ApiRole.ZooKeeperServerMode
The state of the Zookeeper server.
|
Constructor and Description |
---|
ApiRole() |
public String getName()
public void setName(String name)
public String getType()
public void setType(String type)
public ApiHostRef getHostRef()
public void setHostRef(ApiHostRef hostRef)
public ApiServiceRef getServiceRef()
public void setServiceRef(ApiServiceRef serviceRef)
public ApiRoleState getRoleState()
public void setRoleState(ApiRoleState roleState)
public ApiCommissionState getCommissionState()
public void setCommissionState(ApiCommissionState commissionState)
public ApiHealthSummary getHealthSummary()
public void setHealthSummary(ApiHealthSummary healthSummary)
@Deprecated public Boolean getConfigStale()
public void setConfigStale(Boolean configStale)
public ApiConfigStalenessStatus getConfigStalenessStatus()
public void setConfigStalenessStatus(ApiConfigStalenessStatus configStalenessStatus)
public List<ApiHealthCheck> getHealthChecks()
public void setHealthChecks(List<ApiHealthCheck> healthChecks)
public ApiRole.HaStatus getHaStatus()
public void setHaStatus(ApiRole.HaStatus haStatus)
public String getRoleUrl()
public void setRoleUrl(String roleUrl)
public Boolean getMaintenanceMode()
public void setMaintenanceMode(Boolean maintenanceMode)
public List<ApiEntityType> getMaintenanceOwners()
public void setMaintenanceOwners(List<ApiEntityType> maintenanceOwners)
public ApiConfigList getConfig()
public void setConfig(ApiConfigList config)
public ApiRoleConfigGroupRef getRoleConfigGroupRef()
public void setRoleConfigGroupRef(ApiRoleConfigGroupRef roleConfigGroupRef)
public ApiRole.ZooKeeperServerMode getZooKeeperServerMode()
public void setZooKeeperServerMode(ApiRole.ZooKeeperServerMode zooKeeperServerMode)
public ApiEntityStatus getEntityStatus()
public void setEntityStatus(ApiEntityStatus entityStatus)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.