Package es.situm.sdk.model.cartography
Class PoiCategory.Builder
- java.lang.Object
-
- es.situm.sdk.model.cartography.PoiCategory.Builder
-
- Enclosing class:
- PoiCategory
public static final class PoiCategory.Builder extends java.lang.Object
Builder to construct aPoiCategory
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PoiCategory toCopy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PoiCategory
build()
PoiCategory.Builder
code(java.lang.String code)
PoiCategory.Builder
isPublic(java.lang.Boolean isPublic)
PoiCategory.Builder
name(I18nString name)
PoiCategory.Builder
selectedIcon(URL url)
PoiCategory.Builder
selectedIconBase64(java.lang.String selectedIconBase64)
PoiCategory.Builder
unselectedIcon(URL url)
PoiCategory.Builder
unselectedIconBase64(java.lang.String unselectedIconBase64)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(@NonNull PoiCategory toCopy)
-
-
Method Detail
-
code
@NonNull public PoiCategory.Builder code(@NonNull java.lang.String code)
-
name
@NonNull public PoiCategory.Builder name(@NonNull I18nString name)
-
unselectedIcon
@NonNull public PoiCategory.Builder unselectedIcon(@NonNull URL url)
-
selectedIcon
@NonNull public PoiCategory.Builder selectedIcon(@NonNull URL url)
-
unselectedIconBase64
@NonNull public PoiCategory.Builder unselectedIconBase64(@NonNull java.lang.String unselectedIconBase64)
-
selectedIconBase64
@NonNull public PoiCategory.Builder selectedIconBase64(@NonNull java.lang.String selectedIconBase64)
-
isPublic
@NonNull public PoiCategory.Builder isPublic(@NonNull java.lang.Boolean isPublic)
-
build
@NonNull public PoiCategory build()
-
-