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