Interface GetDeviceMethodsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDeviceMethodsResponse.Builder,
,GetDeviceMethodsResponse> Iot1ClickDevicesResponse.Builder
,SdkBuilder<GetDeviceMethodsResponse.Builder,
,GetDeviceMethodsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeviceMethodsResponse
public static interface GetDeviceMethodsResponse.Builder
extends Iot1ClickDevicesResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceMethodsResponse.Builder,GetDeviceMethodsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceMethods
(Collection<DeviceMethod> deviceMethods) List of available device APIs.deviceMethods
(Consumer<DeviceMethod.Builder>... deviceMethods) List of available device APIs.deviceMethods
(DeviceMethod... deviceMethods) List of available device APIs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot1clickdevices.model.Iot1ClickDevicesResponse.Builder
build, responseMetadata, responseMetadata
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
-
deviceMethods
List of available device APIs.
- Parameters:
deviceMethods
- List of available device APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMethods
List of available device APIs.
- Parameters:
deviceMethods
- List of available device APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaDeviceMethod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceMethods(List<DeviceMethod>)
.- Parameters:
deviceMethods
- a consumer that will call methods onDeviceMethod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-