Package com.dropbox.core.v2.team
Class MemberDevices.Builder
java.lang.Object
com.dropbox.core.v2.team.MemberDevices.Builder
- Enclosing class:
MemberDevices
Builder for
MemberDevices.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DesktopClientSession> protected List<MobileClientSession> protected final Stringprotected List<ActiveWebSession> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofMemberDevicesconfigured with this builder's valueswithDesktopClients(List<DesktopClientSession> desktopClients) Set value for optional field.withMobileClients(List<MobileClientSession> mobileClients) Set value for optional field.withWebSessions(List<ActiveWebSession> webSessions) Set value for optional field.
-
Field Details
-
teamMemberId
-
webSessions
-
desktopClients
-
mobileClients
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withWebSessions
Set value for optional field.- Parameters:
webSessions- 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.
-
withDesktopClients
Set value for optional field.- Parameters:
desktopClients- List of desktop clients by this team member. Must not contain anullitem.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
withMobileClients
Set value for optional field.- Parameters:
mobileClients- List of mobile clients 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 ofMemberDevicesconfigured with this builder's values- Returns:
- new instance of
MemberDevices
-