Class ListPutParams.Builder
- java.lang.Object
-
- com.courier.api.resources.lists.types.ListPutParams.Builder
-
- All Implemented Interfaces:
ListPutParams._FinalStage,ListPutParams.NameStage
- Enclosing class:
- ListPutParams
public static final class ListPutParams.Builder extends java.lang.Object implements ListPutParams.NameStage, ListPutParams._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPutParamsbuild()ListPutParams.Builderfrom(ListPutParams other)ListPutParams._FinalStagename(java.lang.String name)ListPutParams._FinalStagepreferences(RecipientPreferences preferences)ListPutParams._FinalStagepreferences(java.util.Optional<RecipientPreferences> preferences)
-
-
-
Method Detail
-
from
public ListPutParams.Builder from(ListPutParams other)
- Specified by:
fromin interfaceListPutParams.NameStage
-
name
public ListPutParams._FinalStage name(java.lang.String name)
- Specified by:
namein interfaceListPutParams.NameStage
-
preferences
public ListPutParams._FinalStage preferences(RecipientPreferences preferences)
- Specified by:
preferencesin interfaceListPutParams._FinalStage
-
preferences
public ListPutParams._FinalStage preferences(java.util.Optional<RecipientPreferences> preferences)
- Specified by:
preferencesin interfaceListPutParams._FinalStage
-
build
public ListPutParams build()
- Specified by:
buildin interfaceListPutParams._FinalStage
-
-