com.cloudera.api.model
Class ApiServiceConfig

java.lang.Object
  extended by com.cloudera.api.model.ApiConfigList
      extended by com.cloudera.api.model.ApiServiceConfig
All Implemented Interfaces:
Iterable<ApiConfig>

public class ApiServiceConfig
extends ApiConfigList

Service and role type configuration.


Field Summary
static String ITEMS_ATTR
           
protected  List<T> values
           
 
Constructor Summary
ApiServiceConfig()
           
 
Method Summary
 boolean add(T item)
           
 boolean equals(Object other)
           
 T get(int index)
           
 List<ApiRoleTypeConfig> getRoleTypeConfigs()
          List of role type configurations.
 int hashCode()
           
 Iterator<T> iterator()
           
 void setRoleTypeConfigs(List<ApiRoleTypeConfig> roleTypeConfigs)
           
 int size()
           
 String toString()
           
 
Methods inherited from class com.cloudera.api.model.ApiConfigList
getConfigs, setConfigs
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ITEMS_ATTR

public static final String ITEMS_ATTR
See Also:
Constant Field Values

values

protected List<T> values
Constructor Detail

ApiServiceConfig

public ApiServiceConfig()
Method Detail

getRoleTypeConfigs

public List<ApiRoleTypeConfig> getRoleTypeConfigs()
List of role type configurations. Only available up to API v2.


setRoleTypeConfigs

public void setRoleTypeConfigs(List<ApiRoleTypeConfig> roleTypeConfigs)

equals

public boolean equals(Object other)

hashCode

public int hashCode()

add

public boolean add(T item)

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>

size

public int size()

get

public T get(int index)

toString

public String toString()
Overrides:
toString in class Object


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