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