Package com.flagright.api.types
Class ListExisted.Builder
- java.lang.Object
-
- com.flagright.api.types.ListExisted.Builder
-
- All Implemented Interfaces:
ListExisted._FinalStage,ListExisted.HeaderStage,ListExisted.ListIdStage
- Enclosing class:
- ListExisted
public static final class ListExisted.Builder extends java.lang.Object implements ListExisted.ListIdStage, ListExisted.HeaderStage, ListExisted._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListExisted._FinalStageaddAllItems(java.util.List<ListItem> items)List itemsListExisted._FinalStageaddItems(ListItem items)List itemsListExistedbuild()ListExisted.Builderfrom(ListExisted other)ListExisted._FinalStageheader(ListHeader header)ListExisted._FinalStageitems(java.util.List<ListItem> items)ListExisted.HeaderStagelistId(java.lang.String listId)
-
-
-
Method Detail
-
from
public ListExisted.Builder from(ListExisted other)
- Specified by:
fromin interfaceListExisted.ListIdStage
-
listId
public ListExisted.HeaderStage listId(@NotNull java.lang.String listId)
- Specified by:
listIdin interfaceListExisted.ListIdStage
-
header
public ListExisted._FinalStage header(@NotNull ListHeader header)
- Specified by:
headerin interfaceListExisted.HeaderStage
-
addAllItems
public ListExisted._FinalStage addAllItems(java.util.List<ListItem> items)
List items
- Specified by:
addAllItemsin interfaceListExisted._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addItems
public ListExisted._FinalStage addItems(ListItem items)
List items
- Specified by:
addItemsin interfaceListExisted._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
items
public ListExisted._FinalStage items(java.util.List<ListItem> items)
- Specified by:
itemsin interfaceListExisted._FinalStage
-
build
public ListExisted build()
- Specified by:
buildin interfaceListExisted._FinalStage
-
-