public static class ProfileInfo.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
email |
protected String |
firstName |
protected String |
lastName |
protected String |
nickName |
protected ProfileType |
type |
protected String |
uuid |
Constructor and Description |
---|
ProfileInfo.Builder() |
Modifier and Type | Method and Description |
---|---|
ProfileInfo |
build() |
ProfileInfo.Builder |
email(String email) |
ProfileInfo.Builder |
firstName(String firstName) |
ProfileInfo.Builder |
lastName(String lastName) |
ProfileInfo.Builder |
nickName(String nickName) |
ProfileInfo.Builder |
type(ProfileType type) |
ProfileInfo.Builder |
uuid(String uuid) |
protected String uuid
protected String email
protected String firstName
protected String lastName
protected String nickName
protected ProfileType type
public ProfileInfo.Builder uuid(String uuid)
public ProfileInfo.Builder email(String email)
public ProfileInfo.Builder firstName(String firstName)
public ProfileInfo.Builder lastName(String lastName)
public ProfileInfo.Builder nickName(String nickName)
public ProfileInfo.Builder type(ProfileType type)
public ProfileInfo build()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.