public static interface GetDeviceResponse.Builder extends CognitoIdentityProviderResponse.Builder, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetDeviceResponse.Builder |
device(Consumer<DeviceType.Builder> device)
The device.
|
GetDeviceResponse.Builder |
device(DeviceType device)
The device.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetDeviceResponse.Builder device(DeviceType device)
The device.
device - The device.default GetDeviceResponse.Builder device(Consumer<DeviceType.Builder> device)
The device.
This is a convenience that creates an instance of theDeviceType.Builder avoiding the need to create
one manually via DeviceType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to device(DeviceType).device - a consumer that will call methods on DeviceType.Builderdevice(DeviceType)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.