Package com.linecorp.bot.model.profile
Class UserProfileResponse.UserProfileResponseBuilder
- java.lang.Object
-
- com.linecorp.bot.model.profile.UserProfileResponse.UserProfileResponseBuilder
-
- Enclosing class:
- UserProfileResponse
public static class UserProfileResponse.UserProfileResponseBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserProfileResponse
build()
UserProfileResponse.UserProfileResponseBuilder
displayName(java.lang.String displayName)
Display name.UserProfileResponse.UserProfileResponseBuilder
language(java.lang.String language)
User's language.UserProfileResponse.UserProfileResponseBuilder
pictureUrl(java.net.URI pictureUrl)
Image URL.UserProfileResponse.UserProfileResponseBuilder
statusMessage(java.lang.String statusMessage)
Status message.java.lang.String
toString()
UserProfileResponse.UserProfileResponseBuilder
userId(java.lang.String userId)
User ID.
-
-
-
Method Detail
-
displayName
public UserProfileResponse.UserProfileResponseBuilder displayName(java.lang.String displayName)
Display name.- Returns:
this
.
-
userId
public UserProfileResponse.UserProfileResponseBuilder userId(java.lang.String userId)
User ID.- Returns:
this
.
-
pictureUrl
public UserProfileResponse.UserProfileResponseBuilder pictureUrl(java.net.URI pictureUrl)
Image URL.- Returns:
this
.
-
statusMessage
public UserProfileResponse.UserProfileResponseBuilder statusMessage(java.lang.String statusMessage)
Status message.- Returns:
this
.
-
language
public UserProfileResponse.UserProfileResponseBuilder language(java.lang.String language)
User's language.- Returns:
this
.
-
build
public UserProfileResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-