public static interface GetDeviceMethodsResponse.Builder extends Iot1ClickDevicesResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceMethodsResponse.Builder,GetDeviceMethodsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetDeviceMethodsResponse.Builder |
deviceMethods(Collection<DeviceMethod> deviceMethods)
List of available device APIs.
|
GetDeviceMethodsResponse.Builder |
deviceMethods(Consumer<DeviceMethod.Builder>... deviceMethods)
List of available device APIs.
|
GetDeviceMethodsResponse.Builder |
deviceMethods(DeviceMethod... deviceMethods)
List of available device APIs.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetDeviceMethodsResponse.Builder deviceMethods(Collection<DeviceMethod> deviceMethods)
List of available device APIs.
deviceMethods - List of available device APIs.GetDeviceMethodsResponse.Builder deviceMethods(DeviceMethod... deviceMethods)
List of available device APIs.
deviceMethods - List of available device APIs.GetDeviceMethodsResponse.Builder deviceMethods(Consumer<DeviceMethod.Builder>... deviceMethods)
List of available device APIs.
This is a convenience method that creates an instance of theDeviceMethod.Builder avoiding the need to
create one manually via DeviceMethod.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #deviceMethods(List.
deviceMethods - a consumer that will call methods on
DeviceMethod.Builder#deviceMethods(java.util.Collection) Copyright © 2023. All rights reserved.