Interface GetManagedThingCapabilitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetManagedThingCapabilitiesResponse.Builder,
,GetManagedThingCapabilitiesResponse> IotManagedIntegrationsResponse.Builder
,SdkBuilder<GetManagedThingCapabilitiesResponse.Builder,
,GetManagedThingCapabilitiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetManagedThingCapabilitiesResponse
@Mutable
@NotThreadSafe
public static interface GetManagedThingCapabilitiesResponse.Builder
extends IotManagedIntegrationsResponse.Builder, SdkPojo, CopyableBuilder<GetManagedThingCapabilitiesResponse.Builder,GetManagedThingCapabilitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities
(String capabilities) The capabilities of the device such as light bulb.capabilityReport
(Consumer<CapabilityReport.Builder> capabilityReport) A report of the capabilities for the managed thing.capabilityReport
(CapabilityReport capabilityReport) A report of the capabilities for the managed thing.managedThingId
(String managedThingId) The id of the device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
managedThingId
The id of the device.
- Parameters:
managedThingId
- The id of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
The capabilities of the device such as light bulb.
- Parameters:
capabilities
- The capabilities of the device such as light bulb.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityReport
A report of the capabilities for the managed thing.
- Parameters:
capabilityReport
- A report of the capabilities for the managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityReport
default GetManagedThingCapabilitiesResponse.Builder capabilityReport(Consumer<CapabilityReport.Builder> capabilityReport) A report of the capabilities for the managed thing.
This is a convenience method that creates an instance of theCapabilityReport.Builder
avoiding the need to create one manually viaCapabilityReport.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilityReport(CapabilityReport)
.- Parameters:
capabilityReport
- a consumer that will call methods onCapabilityReport.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-