Interface AdminListDevicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<AdminListDevicesResponse.Builder,,AdminListDevicesResponse> SdkBuilder<AdminListDevicesResponse.Builder,,AdminListDevicesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AdminListDevicesResponse
public static interface AdminListDevicesResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<AdminListDevicesResponse.Builder,AdminListDevicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevices(Collection<DeviceType> devices) The devices in the list of devices response.devices(Consumer<DeviceType.Builder>... devices) The devices in the list of devices response.devices(DeviceType... devices) The devices in the list of devices response.paginationToken(String paginationToken) The pagination token.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
devices
The devices in the list of devices response.
- Parameters:
devices- The devices in the list of devices response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The devices in the list of devices response.
- Parameters:
devices- The devices in the list of devices response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The devices in the list of 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 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.
- Parameters:
paginationToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-