Class Location.LocationBuilder
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,java.lang.Object>
-
- de.hybris.platform.personalizationyprofile.yaas.Location.LocationBuilder
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
- Enclosing class:
- Location
public static class Location.LocationBuilder extends java.util.LinkedHashMap<java.lang.String,java.lang.Object>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Locationbuild()Location.LocationBuilderwithCity(java.lang.String city)Location.LocationBuilderwithCountryCode(java.lang.String countryCode)Location.LocationBuilderwithRegionCode(java.lang.String regionCode)-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
withRegionCode
public Location.LocationBuilder withRegionCode(java.lang.String regionCode)
-
withCity
public Location.LocationBuilder withCity(java.lang.String city)
-
withCountryCode
public Location.LocationBuilder withCountryCode(java.lang.String countryCode)
-
build
public Location build()
-
-