public static interface ListDevicesResponse.Builder extends CognitoIdentityProviderResponse.Builder, CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>
Modifier and Type | Method and Description |
---|---|
ListDevicesResponse.Builder |
devices(Collection<DeviceType> devices)
The devices returned in the list devices response.
|
ListDevicesResponse.Builder |
devices(Consumer<DeviceType.Builder>... devices)
The devices returned in the list devices response.
|
ListDevicesResponse.Builder |
devices(DeviceType... devices)
The devices returned in the list devices response.
|
ListDevicesResponse.Builder |
paginationToken(String paginationToken)
The pagination token for the list device response.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListDevicesResponse.Builder devices(Collection<DeviceType> devices)
The devices returned in the list devices response.
devices
- The devices returned in the list devices response.ListDevicesResponse.Builder devices(DeviceType... devices)
The devices returned in the list devices response.
devices
- The devices returned in the list devices response.ListDevicesResponse.Builder devices(Consumer<DeviceType.Builder>... devices)
The devices returned in the list devices response.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #devices(List)
.devices
- a consumer that will call methods on List.Builder
#devices(List)
ListDevicesResponse.Builder paginationToken(String paginationToken)
The pagination token for the list device response.
paginationToken
- The pagination token for the list device response.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.