Package com.dropbox.core.v2.team
Class ListMemberDevicesResult.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.team.ListMemberDevicesResult.Builder
 
- 
- Enclosing class:
- ListMemberDevicesResult
 
 public static class ListMemberDevicesResult.Builder extends java.lang.ObjectBuilder forListMemberDevicesResult.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<ActiveWebSession>activeWebSessionsprotected java.util.List<DesktopClientSession>desktopClientSessionsprotected java.util.List<MobileClientSession>mobileClientSessions
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMemberDevicesResultbuild()Builds an instance ofListMemberDevicesResultconfigured with this builder's valuesListMemberDevicesResult.BuilderwithActiveWebSessions(java.util.List<ActiveWebSession> activeWebSessions)Set value for optional field.ListMemberDevicesResult.BuilderwithDesktopClientSessions(java.util.List<DesktopClientSession> desktopClientSessions)Set value for optional field.ListMemberDevicesResult.BuilderwithMobileClientSessions(java.util.List<MobileClientSession> mobileClientSessions)Set value for optional field.
 
- 
- 
- 
Field Detail- 
activeWebSessionsprotected java.util.List<ActiveWebSession> activeWebSessions 
 - 
desktopClientSessionsprotected java.util.List<DesktopClientSession> desktopClientSessions 
 - 
mobileClientSessionsprotected java.util.List<MobileClientSession> mobileClientSessions 
 
- 
 - 
Method Detail- 
withActiveWebSessionspublic ListMemberDevicesResult.Builder withActiveWebSessions(java.util.List<ActiveWebSession> activeWebSessions) Set value for optional field.- Parameters:
- activeWebSessions- 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.
 
 - 
withDesktopClientSessionspublic ListMemberDevicesResult.Builder withDesktopClientSessions(java.util.List<DesktopClientSession> desktopClientSessions) Set value for optional field.- Parameters:
- desktopClientSessions- List of desktop clients used by this team member. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withMobileClientSessionspublic ListMemberDevicesResult.Builder withMobileClientSessions(java.util.List<MobileClientSession> mobileClientSessions) Set value for optional field.- Parameters:
- mobileClientSessions- List of mobile client used 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 ListMemberDevicesResult build() Builds an instance ofListMemberDevicesResultconfigured with this builder's values- Returns:
- new instance of ListMemberDevicesResult
 
 
- 
 
-