public static class MemberDevices.Builder extends Object
MemberDevices.| Modifier and Type | Field and Description |
|---|---|
protected List<DesktopClientSession> |
desktopClients |
protected List<MobileClientSession> |
mobileClients |
protected String |
teamMemberId |
protected List<ActiveWebSession> |
webSessions |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(String teamMemberId) |
| Modifier and Type | Method and Description |
|---|---|
MemberDevices |
build()
Builds an instance of
MemberDevices configured with this
builder's values |
MemberDevices.Builder |
withDesktopClients(List<DesktopClientSession> desktopClients)
Set value for optional field.
|
MemberDevices.Builder |
withMobileClients(List<MobileClientSession> mobileClients)
Set value for optional field.
|
MemberDevices.Builder |
withWebSessions(List<ActiveWebSession> webSessions)
Set value for optional field.
|
protected final String teamMemberId
protected List<ActiveWebSession> webSessions
protected List<DesktopClientSession> desktopClients
protected List<MobileClientSession> mobileClients
protected Builder(String teamMemberId)
public MemberDevices.Builder withWebSessions(List<ActiveWebSession> webSessions)
webSessions - List of web sessions made by this team member.
Must not contain a null item.IllegalArgumentException - If any argument does not meet its
preconditions.public MemberDevices.Builder withDesktopClients(List<DesktopClientSession> desktopClients)
desktopClients - List of desktop clients by this team member.
Must not contain a null item.IllegalArgumentException - If any argument does not meet its
preconditions.public MemberDevices.Builder withMobileClients(List<MobileClientSession> mobileClients)
mobileClients - List of mobile clients by this team member.
Must not contain a null item.IllegalArgumentException - If any argument does not meet its
preconditions.public MemberDevices build()
MemberDevices configured with this
builder's valuesMemberDevices