public static class ListMemberDevicesResult.Builder extends Object
ListMemberDevicesResult
.Modifier and Type | Field and Description |
---|---|
protected List<ActiveWebSession> |
activeWebSessions |
protected List<DesktopClientSession> |
desktopClientSessions |
protected List<MobileClientSession> |
mobileClientSessions |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
ListMemberDevicesResult |
build()
Builds an instance of
ListMemberDevicesResult configured with
this builder's values |
ListMemberDevicesResult.Builder |
withActiveWebSessions(List<ActiveWebSession> activeWebSessions)
Set value for optional field.
|
ListMemberDevicesResult.Builder |
withDesktopClientSessions(List<DesktopClientSession> desktopClientSessions)
Set value for optional field.
|
ListMemberDevicesResult.Builder |
withMobileClientSessions(List<MobileClientSession> mobileClientSessions)
Set value for optional field.
|
protected List<ActiveWebSession> activeWebSessions
protected List<DesktopClientSession> desktopClientSessions
protected List<MobileClientSession> mobileClientSessions
public ListMemberDevicesResult.Builder withActiveWebSessions(List<ActiveWebSession> activeWebSessions)
activeWebSessions
- List of web sessions made by this team
member. Must not contain a null
item.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListMemberDevicesResult.Builder withDesktopClientSessions(List<DesktopClientSession> desktopClientSessions)
desktopClientSessions
- List of desktop clients used by this
team member. Must not contain a null
item.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListMemberDevicesResult.Builder withMobileClientSessions(List<MobileClientSession> mobileClientSessions)
mobileClientSessions
- List of mobile client used by this team
member. Must not contain a null
item.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListMemberDevicesResult build()
ListMemberDevicesResult
configured with
this builder's valuesListMemberDevicesResult