Class Profile.Builder
- java.lang.Object
-
- com.rivet.api.resources.group.common.types.Profile.Builder
-
- All Implemented Interfaces:
Profile._FinalStage,Profile.BioStage,Profile.DisplayNameStage,Profile.ExternalStage,Profile.GroupIdStage,Profile.OwnerIdentityIdStage,Profile.PublicityStage
- Enclosing class:
- Profile
public static final class Profile.Builder extends java.lang.Object implements Profile.GroupIdStage, Profile.DisplayNameStage, Profile.ExternalStage, Profile.BioStage, Profile.PublicityStage, Profile.OwnerIdentityIdStage, Profile._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Profile._FinalStageaddAllJoinRequests(java.util.List<JoinRequest> joinRequests)A list of group join requests.Profile._FinalStageaddAllMembers(java.util.List<Member> members)A list of group members.Profile._FinalStageaddJoinRequests(JoinRequest joinRequests)A list of group join requests.Profile._FinalStageaddMembers(Member members)A list of group members.Profile._FinalStageavatarUrl(java.lang.String avatarUrl)The URL of this group's avatar image.Profile._FinalStageavatarUrl(java.util.Optional<java.lang.String> avatarUrl)Profile.PublicityStagebio(java.lang.String bio)Detailed information about a profile.Profilebuild()Profile.ExternalStagedisplayName(java.lang.String displayName)Represent a resource's readable display name.Profile.BioStageexternal(ExternalLinks external)Profile.Builderfrom(Profile other)Profile.DisplayNameStagegroupId(java.util.UUID groupId)Profile._FinalStageisCurrentIdentityMember(java.lang.Boolean isCurrentIdentityMember)Whether or not the current identity is a member of this group.Profile._FinalStageisCurrentIdentityMember(java.util.Optional<java.lang.Boolean> isCurrentIdentityMember)Profile._FinalStageisCurrentIdentityRequestingJoin(java.lang.Boolean isCurrentIdentityRequestingJoin)Whether or not the current identity is currently requesting to join this group.Profile._FinalStageisCurrentIdentityRequestingJoin(java.util.Optional<java.lang.Boolean> isCurrentIdentityRequestingJoin)Profile._FinalStageisDeveloper(java.lang.Boolean isDeveloper)Whether or not this group is a developer.Profile._FinalStageisDeveloper(java.util.Optional<java.lang.Boolean> isDeveloper)Profile._FinalStagejoinRequests(java.util.List<JoinRequest> joinRequests)Profile._FinalStagememberCount(java.lang.Integer memberCount)Unsigned 32 bit integer.Profile._FinalStagememberCount(java.util.Optional<java.lang.Integer> memberCount)Profile._FinalStagemembers(java.util.List<Member> members)Profile._FinalStageownerIdentityId(java.util.UUID ownerIdentityId)Profile.OwnerIdentityIdStagepublicity(Publicity publicity)Profile._FinalStagethreadId(java.util.Optional<java.util.UUID> threadId)Profile._FinalStagethreadId(java.util.UUID threadId)
-
-
-
Method Detail
-
from
public Profile.Builder from(Profile other)
- Specified by:
fromin interfaceProfile.GroupIdStage
-
groupId
public Profile.DisplayNameStage groupId(java.util.UUID groupId)
- Specified by:
groupIdin interfaceProfile.GroupIdStage
-
displayName
public Profile.ExternalStage displayName(java.lang.String displayName)
Represent a resource's readable display name.
- Specified by:
displayNamein interfaceProfile.DisplayNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
external
public Profile.BioStage external(ExternalLinks external)
- Specified by:
externalin interfaceProfile.ExternalStage
-
bio
public Profile.PublicityStage bio(java.lang.String bio)
Detailed information about a profile.
- Specified by:
bioin interfaceProfile.BioStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
publicity
public Profile.OwnerIdentityIdStage publicity(Publicity publicity)
- Specified by:
publicityin interfaceProfile.PublicityStage
-
ownerIdentityId
public Profile._FinalStage ownerIdentityId(java.util.UUID ownerIdentityId)
- Specified by:
ownerIdentityIdin interfaceProfile.OwnerIdentityIdStage
-
threadId
public Profile._FinalStage threadId(java.util.UUID threadId)
- Specified by:
threadIdin interfaceProfile._FinalStage
-
threadId
public Profile._FinalStage threadId(java.util.Optional<java.util.UUID> threadId)
- Specified by:
threadIdin interfaceProfile._FinalStage
-
isCurrentIdentityRequestingJoin
public Profile._FinalStage isCurrentIdentityRequestingJoin(java.lang.Boolean isCurrentIdentityRequestingJoin)
Whether or not the current identity is currently requesting to join this group.
- Specified by:
isCurrentIdentityRequestingJoinin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isCurrentIdentityRequestingJoin
public Profile._FinalStage isCurrentIdentityRequestingJoin(java.util.Optional<java.lang.Boolean> isCurrentIdentityRequestingJoin)
- Specified by:
isCurrentIdentityRequestingJoinin interfaceProfile._FinalStage
-
addAllJoinRequests
public Profile._FinalStage addAllJoinRequests(java.util.List<JoinRequest> joinRequests)
A list of group join requests.
- Specified by:
addAllJoinRequestsin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addJoinRequests
public Profile._FinalStage addJoinRequests(JoinRequest joinRequests)
A list of group join requests.
- Specified by:
addJoinRequestsin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
joinRequests
public Profile._FinalStage joinRequests(java.util.List<JoinRequest> joinRequests)
- Specified by:
joinRequestsin interfaceProfile._FinalStage
-
addAllMembers
public Profile._FinalStage addAllMembers(java.util.List<Member> members)
A list of group members.
- Specified by:
addAllMembersin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addMembers
public Profile._FinalStage addMembers(Member members)
A list of group members.
- Specified by:
addMembersin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
members
public Profile._FinalStage members(java.util.List<Member> members)
- Specified by:
membersin interfaceProfile._FinalStage
-
memberCount
public Profile._FinalStage memberCount(java.lang.Integer memberCount)
Unsigned 32 bit integer.
- Specified by:
memberCountin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
memberCount
public Profile._FinalStage memberCount(java.util.Optional<java.lang.Integer> memberCount)
- Specified by:
memberCountin interfaceProfile._FinalStage
-
isCurrentIdentityMember
public Profile._FinalStage isCurrentIdentityMember(java.lang.Boolean isCurrentIdentityMember)
Whether or not the current identity is a member of this group.
- Specified by:
isCurrentIdentityMemberin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isCurrentIdentityMember
public Profile._FinalStage isCurrentIdentityMember(java.util.Optional<java.lang.Boolean> isCurrentIdentityMember)
- Specified by:
isCurrentIdentityMemberin interfaceProfile._FinalStage
-
isDeveloper
public Profile._FinalStage isDeveloper(java.lang.Boolean isDeveloper)
Whether or not this group is a developer.
- Specified by:
isDeveloperin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isDeveloper
public Profile._FinalStage isDeveloper(java.util.Optional<java.lang.Boolean> isDeveloper)
- Specified by:
isDeveloperin interfaceProfile._FinalStage
-
avatarUrl
public Profile._FinalStage avatarUrl(java.lang.String avatarUrl)
The URL of this group's avatar image.
- Specified by:
avatarUrlin interfaceProfile._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
avatarUrl
public Profile._FinalStage avatarUrl(java.util.Optional<java.lang.String> avatarUrl)
- Specified by:
avatarUrlin interfaceProfile._FinalStage
-
build
public Profile build()
- Specified by:
buildin interfaceProfile._FinalStage
-
-