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.Object
Builder forListMemberDevicesResult
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ActiveWebSession>
activeWebSessions
protected java.util.List<DesktopClientSession>
desktopClientSessions
protected java.util.List<MobileClientSession>
mobileClientSessions
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMemberDevicesResult
build()
Builds an instance ofListMemberDevicesResult
configured with this builder's valuesListMemberDevicesResult.Builder
withActiveWebSessions(java.util.List<ActiveWebSession> activeWebSessions)
Set value for optional field.ListMemberDevicesResult.Builder
withDesktopClientSessions(java.util.List<DesktopClientSession> desktopClientSessions)
Set value for optional field.ListMemberDevicesResult.Builder
withMobileClientSessions(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 anull
item.- 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 anull
item.- 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 anull
item.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
build
public ListMemberDevicesResult build()
Builds an instance ofListMemberDevicesResult
configured with this builder's values- Returns:
- new instance of
ListMemberDevicesResult
-
-