Interface CreateManagedThingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateManagedThingRequest.Builder,
,CreateManagedThingRequest> IotManagedIntegrationsRequest.Builder
,SdkBuilder<CreateManagedThingRequest.Builder,
,CreateManagedThingRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateManagedThingRequest
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationMaterial
(String authenticationMaterial) The authentication material defining the device connectivity setup requests.authenticationMaterialType
(String authenticationMaterialType) The type of authentication material used for device connectivity setup requests.authenticationMaterialType
(AuthMaterialType authenticationMaterialType) The type of authentication material used for device connectivity setup requests.The 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 capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.capabilitySchemas
(Consumer<CapabilitySchemaItem.Builder>... capabilitySchemas) The capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.capabilitySchemas
(CapabilitySchemaItem... capabilitySchemas) The capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.classification
(String classification) The classification of the managed thing such as light bulb or thermostat.clientToken
(String clientToken) An idempotency token.credentialLockerId
(String credentialLockerId) The identifier of the credential for 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.The type of device used.The type of device used.serialNumber
(String serialNumber) The serial number of the device.A set of key/value pairs that are used to manage the managed thing.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
-
role
The type of device used. This will be the hub controller, cloud device, or AWS IoT device.
- Parameters:
role
- The type of device used. This will be the hub controller, cloud device, or AWS IoT device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
role
The type of device used. This will be the hub controller, cloud device, or AWS IoT device.
- Parameters:
role
- The type of device used. This will be the hub controller, cloud device, or AWS IoT device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
authenticationMaterial
The authentication material defining the device connectivity setup requests. The authentication materials used are the device bar code.
- Parameters:
authenticationMaterial
- The authentication material defining the device connectivity setup requests. The authentication materials used are the device bar code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationMaterialType
The type of authentication material used for device connectivity setup requests.
- Parameters:
authenticationMaterialType
- The type of authentication material used for device connectivity setup requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationMaterialType
CreateManagedThingRequest.Builder authenticationMaterialType(AuthMaterialType authenticationMaterialType) The type of authentication material used for device connectivity setup requests.
- Parameters:
authenticationMaterialType
- The type of authentication material used for device connectivity setup requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 CreateManagedThingRequest.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
CreateManagedThingRequest.Builder capabilitySchemas(Collection<CapabilitySchemaItem> capabilitySchemas) The capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.
- Parameters:
capabilitySchemas
- The capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitySchemas
The capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.
- Parameters:
capabilitySchemas
- The capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilitySchemas
CreateManagedThingRequest.Builder capabilitySchemas(Consumer<CapabilitySchemaItem.Builder>... capabilitySchemas) The capability schemas that define the functionality and features supported by the managed thing, including device capabilities and their associated properties.
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.
-
clientToken
An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.
- Parameters:
clientToken
- An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.- 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.
-
tags
A set of key/value pairs that are used to manage the managed thing.
- Parameters:
tags
- A set of key/value pairs that are used to manage the managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metaData
The metadata for the managed thing.
The
managedThing
metadata
parameter is used for associating attributes with amanagedThing
that can be used for grouping over-the-air (OTA) tasks. Name value pairs inmetadata
can be used in theOtaTargetQueryString
parameter for theCreateOtaTask
API operation.- Parameters:
metaData
- The metadata for the managed thing.The
managedThing
metadata
parameter is used for associating attributes with amanagedThing
that can be used for grouping over-the-air (OTA) tasks. Name value pairs inmetadata
can be used in theOtaTargetQueryString
parameter for theCreateOtaTask
API operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateManagedThingRequest.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
CreateManagedThingRequest.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.
-