Package com.dropbox.core.v2.team
Class MemberDevices.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.team.MemberDevices.Builder
 
- 
- Enclosing class:
- MemberDevices
 
 public static class MemberDevices.Builder extends java.lang.ObjectBuilder forMemberDevices.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<DesktopClientSession>desktopClientsprotected java.util.List<MobileClientSession>mobileClientsprotected java.lang.StringteamMemberIdprotected java.util.List<ActiveWebSession>webSessions
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(java.lang.String teamMemberId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MemberDevicesbuild()Builds an instance ofMemberDevicesconfigured with this builder's valuesMemberDevices.BuilderwithDesktopClients(java.util.List<DesktopClientSession> desktopClients)Set value for optional field.MemberDevices.BuilderwithMobileClients(java.util.List<MobileClientSession> mobileClients)Set value for optional field.MemberDevices.BuilderwithWebSessions(java.util.List<ActiveWebSession> webSessions)Set value for optional field.
 
- 
- 
- 
Field Detail- 
teamMemberIdprotected final java.lang.String teamMemberId 
 - 
webSessionsprotected java.util.List<ActiveWebSession> webSessions 
 - 
desktopClientsprotected java.util.List<DesktopClientSession> desktopClients 
 - 
mobileClientsprotected java.util.List<MobileClientSession> mobileClients 
 
- 
 - 
Method Detail- 
withWebSessionspublic MemberDevices.Builder withWebSessions(java.util.List<ActiveWebSession> webSessions) Set value for optional field.- Parameters:
- webSessions- List of web sessions made by this team member. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withDesktopClientspublic MemberDevices.Builder withDesktopClients(java.util.List<DesktopClientSession> desktopClients) Set value for optional field.- Parameters:
- desktopClients- List of desktop clients by this team member. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withMobileClientspublic MemberDevices.Builder withMobileClients(java.util.List<MobileClientSession> mobileClients) Set value for optional field.- Parameters:
- mobileClients- List of mobile clients by this team member. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
buildpublic MemberDevices build() Builds an instance ofMemberDevicesconfigured with this builder's values- Returns:
- new instance of MemberDevices
 
 
- 
 
-