Package org.starwars.server
Class Droid.Builder
java.lang.Object
org.starwars.server.Droid.Builder
- Enclosing class:
- Droid
The Builder that helps building instance of this POJO. You can get an instance of this class, by calling the
Droid.builder()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withAppearsIn
(List<Episode> appearsInParam) withFriends
(List<Character> friendsParam) withPrimaryFunction
(String primaryFunctionParam)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withId
-
withName
-
withFriends
-
withAppearsIn
-
withPrimaryFunction
-
build
-