Interface UpdateManagedThingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateManagedThingRequest.Builder,
,UpdateManagedThingRequest> IotManagedIntegrationsRequest.Builder
,SdkBuilder<UpdateManagedThingRequest.Builder,
,UpdateManagedThingRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateManagedThingRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe brand of the device.capabilities
(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.capabilitySchemas
(Collection<CapabilitySchemaItem> capabilitySchemas) The updated capability schemas that define the functionality and features supported by the managed thing.capabilitySchemas
(Consumer<CapabilitySchemaItem.Builder>... capabilitySchemas) The updated capability schemas that define the functionality and features supported by the managed thing.capabilitySchemas
(CapabilitySchemaItem... capabilitySchemas) The updated capability schemas that define the functionality and features supported by the managed thing.classification
(String classification) The classification of the managed thing such as light bulb or thermostat.credentialLockerId
(String credentialLockerId) The identifier of the credential for the managed thing.hubNetworkMode
(String hubNetworkMode) The network mode for the hub-connected device.hubNetworkMode
(HubNetworkMode hubNetworkMode) The network mode for the hub-connected device.identifier
(String identifier) The id of the managed thing.The metadata for the managed thing.The model of the device.The name of the managed thing representing the physical device.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Owner of the device, usually an indication of whom the device belongs to.serialNumber
(String serialNumber) The serial number of the device.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The id of the managed thing.
- Parameters:
identifier
- The id of the managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.
- Parameters:
owner
- Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialLockerId
The identifier of the credential for the managed thing.
- Parameters:
credentialLockerId
- The identifier of the credential for the managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serialNumber
The serial number of the device.
- Parameters:
serialNumber
- The serial number of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brand
The brand of the device.
- Parameters:
brand
- The brand of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
model
The model of the device.
- Parameters:
model
- The model of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the managed thing representing the physical device.
- Parameters:
name
- The name of the managed thing representing the physical device.- 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 UpdateManagedThingRequest.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:
-
capabilitySchemas
UpdateManagedThingRequest.Builder capabilitySchemas(Collection<CapabilitySchemaItem> capabilitySchemas) The updated capability schemas that define the functionality and features supported by the managed thing.
- Parameters:
capabilitySchemas
- The updated capability schemas that define the functionality and features supported by the managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitySchemas
The updated capability schemas that define the functionality and features supported by the managed thing.
- Parameters:
capabilitySchemas
- The updated capability schemas that define the functionality and features supported by the managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitySchemas
UpdateManagedThingRequest.Builder capabilitySchemas(Consumer<CapabilitySchemaItem.Builder>... capabilitySchemas) The updated capability schemas that define the functionality and features supported by the managed thing.
This is a convenience method that creates an instance of theCapabilitySchemaItem.Builder
avoiding the need to create one manually viaCapabilitySchemaItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilitySchemas(List<CapabilitySchemaItem>)
.- Parameters:
capabilitySchemas
- a consumer that will call methods onCapabilitySchemaItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
classification
The classification of the managed thing such as light bulb or thermostat.
- Parameters:
classification
- The classification of the managed thing such as light bulb or thermostat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubNetworkMode
The network mode for the hub-connected device.
- Parameters:
hubNetworkMode
- The network mode for the hub-connected device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hubNetworkMode
The network mode for the hub-connected device.
- Parameters:
hubNetworkMode
- The network mode for the hub-connected device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metaData
The metadata for the managed thing.
- Parameters:
metaData
- The metadata for the managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateManagedThingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateManagedThingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-