Interface AdminListDevicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<AdminListDevicesResponse.Builder,
,AdminListDevicesResponse> SdkBuilder<AdminListDevicesResponse.Builder,
,AdminListDevicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AdminListDevicesResponse
-
Method Summary
Modifier and TypeMethodDescriptiondevices
(Collection<DeviceType> devices) An array of devices and their information.devices
(Consumer<DeviceType.Builder>... devices) An array of devices and their information.devices
(DeviceType... devices) An array of devices and their information.paginationToken
(String paginationToken) The identifier that Amazon Cognito returned with the previous request to this operation.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
devices
An array of devices and their information. Each entry that's returned includes device information, last-accessed and created dates, and the device key.
- Parameters:
devices
- An array of devices and their information. Each entry that's returned includes device information, last-accessed and created dates, and the device key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
An array of devices and their information. Each entry that's returned includes device information, last-accessed and created dates, and the device key.
- Parameters:
devices
- An array of devices and their information. Each entry that's returned includes device information, last-accessed and created dates, and the device key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
An array of devices and their information. Each entry that's returned includes device information, last-accessed and created dates, and the device key.
This is a convenience method that creates an instance of theDeviceType.Builder
avoiding the need to create one manually viaDeviceType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevices(List<DeviceType>)
.- Parameters:
devices
- a consumer that will call methods onDeviceType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paginationToken
The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
- Parameters:
paginationToken
- The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-