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 Summary
Fields Modifier and Type Field Description protected java.util.List<ActiveWebSession>activeWebSessionsprotected java.util.List<DesktopClientSession>desktopClientSessionsprotected java.util.List<MobileClientSession>mobileClientSessions
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()
-
Method Summary
All 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
-
activeWebSessions
protected java.util.List<ActiveWebSession> activeWebSessions
-
desktopClientSessions
protected java.util.List<DesktopClientSession> desktopClientSessions
-
mobileClientSessions
protected java.util.List<MobileClientSession> mobileClientSessions
-
-
Method Detail
-
withActiveWebSessions
public 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 anullitem.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
withDesktopClientSessions
public 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 anullitem.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
withMobileClientSessions
public 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 anullitem.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
build
public ListMemberDevicesResult build()
Builds an instance ofListMemberDevicesResultconfigured with this builder's values- Returns:
- new instance of
ListMemberDevicesResult
-
-