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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDevicesResponse.Builderdevices(Collection<DeviceType> devices)The devices returned in the list devices response.ListDevicesResponse.Builderdevices(Consumer<DeviceType.Builder>... devices)The devices returned in the list devices response.ListDevicesResponse.Builderdevices(DeviceType... devices)The devices returned in the list devices response.ListDevicesResponse.BuilderpaginationToken(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
devices
ListDevicesResponse.Builder devices(Collection<DeviceType> 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
ListDevicesResponse.Builder devices(DeviceType... 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
ListDevicesResponse.Builder devices(Consumer<DeviceType.Builder>... devices)
The devices returned in the list devices response.
This is a convenience method that creates an instance of theDeviceType.Builderavoiding the need to create one manually viaDeviceType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#devices(List.) - 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:
#devices(java.util.Collection)
-
paginationToken
ListDevicesResponse.Builder paginationToken(String 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.
-
-