Package com.dropbox.core.v2.team
Class ListMemberDevicesResult.Builder
java.lang.Object
com.dropbox.core.v2.team.ListMemberDevicesResult.Builder
- Enclosing class:
ListMemberDevicesResult
Builder for
ListMemberDevicesResult.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ActiveWebSession> protected List<DesktopClientSession> protected List<MobileClientSession> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofListMemberDevicesResultconfigured with this builder's valueswithActiveWebSessions(List<ActiveWebSession> activeWebSessions) Set value for optional field.withDesktopClientSessions(List<DesktopClientSession> desktopClientSessions) Set value for optional field.withMobileClientSessions(List<MobileClientSession> mobileClientSessions) Set value for optional field.
-
Field Details
-
activeWebSessions
-
desktopClientSessions
-
mobileClientSessions
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withActiveWebSessions
public ListMemberDevicesResult.Builder withActiveWebSessions(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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
withDesktopClientSessions
public ListMemberDevicesResult.Builder withDesktopClientSessions(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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
withMobileClientSessions
public ListMemberDevicesResult.Builder withMobileClientSessions(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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
build
Builds an instance ofListMemberDevicesResultconfigured with this builder's values- Returns:
- new instance of
ListMemberDevicesResult
-