Interface ListDevicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<ListDevicesResponse.Builder,
,ListDevicesResponse> SdkBuilder<ListDevicesResponse.Builder,
,ListDevicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDevicesResponse
public static interface ListDevicesResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevices
(Collection<DeviceType> devices) The devices returned in the list devices response.devices
(Consumer<DeviceType.Builder>... devices) The devices returned in the list devices response.devices
(DeviceType... devices) The devices returned in the list devices response.paginationToken
(String paginationToken) The pagination token for the list device response.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
devices
The devices returned in the list devices response.
- Parameters:
devices
- The devices returned in the list devices response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The devices returned in the list devices response.
- Parameters:
devices
- The devices returned in the list devices response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The devices returned in the list devices response.
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 pagination token for the list device response.
- Parameters:
paginationToken
- The pagination token for the list device response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-