Class Segment.SegmentBuilder
- 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.Segment.SegmentBuilder
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
- Enclosing class:
- Segment
public static class Segment.SegmentBuilder extends java.util.LinkedHashMap<java.lang.String,java.lang.Object>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SegmentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Segmentbuild()Segment.SegmentBuilderwithDescription(java.lang.String description)Segment.SegmentBuilderwithName(java.lang.String name)-
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
-
withName
public Segment.SegmentBuilder withName(java.lang.String name)
-
withDescription
public Segment.SegmentBuilder withDescription(java.lang.String description)
-
build
public Segment build()
-
-