Class SaharaServiceConfig
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.openstack4j.openstack.sahara.domain.SaharaServiceConfig
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,Buildable<ServiceConfigBuilder>,ModelEntity,ServiceConfig
public class SaharaServiceConfig extends HashMap<String,Object> implements ServiceConfig
For mapping JSON response to java objects- Author:
- Ekasit Kijsipongse
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSaharaServiceConfig.ConcreteServiceConfigBuilder-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description SaharaServiceConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceConfigBuilderbuilder()Objectget(String name)Map<String,Object>getConfigs()ServiceConfigBuildertoBuilder()-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static ServiceConfigBuilder builder()
-
get
public Object get(String name)
- Specified by:
getin interfaceServiceConfig- Parameters:
name- the name of the parameter- Returns:
- the value of the parameter
-
getConfigs
public Map<String,Object> getConfigs()
- Specified by:
getConfigsin interfaceServiceConfig- Returns:
- map of all configurations or null
-
toBuilder
public ServiceConfigBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<ServiceConfigBuilder>
-
-