Interface GetDeviceResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDeviceResponse.Builder,
,GetDeviceResponse> SdkBuilder<GetDeviceResponse.Builder,
,GetDeviceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeviceResponse
public static interface GetDeviceResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDeviceResponse.Builder
device
(Consumer<Device.Builder> device) The details of the device requested.The details of the device requested.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.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
-
device
The details of the device requested. Required.
- Parameters:
device
- The details of the device requested. Required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
The details of the device requested. Required.
This is a convenience method that creates an instance of theDevice.Builder
avoiding the need to create one manually viaDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevice(Device)
.- Parameters:
device
- a consumer that will call methods onDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-