Interface DeviceDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeviceDescription.Builder,,DeviceDescription> SdkBuilder<DeviceDescription.Builder,,DeviceDescription> SdkPojo
- Enclosing class:
DeviceDescription
public static interface DeviceDescription.Builder
extends SdkPojo, CopyableBuilder<DeviceDescription.Builder,DeviceDescription>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the device.attributes(Map<String, String> attributes) An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.The unique identifier of the device.A Boolean value indicating whether or not the device is enabled.remainingLife(Double remainingLife) A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.The tags currently associated with the AWS IoT 1-Click device.The type of the device, such as "button".Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The ARN of the device.
- Parameters:
arn- The ARN of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.
- Parameters:
attributes- An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceId
The unique identifier of the device.
- Parameters:
deviceId- The unique identifier of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
A Boolean value indicating whether or not the device is enabled.
- Parameters:
enabled- A Boolean value indicating whether or not the device is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remainingLife
A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.
- Parameters:
remainingLife- A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the device, such as "button".
- Parameters:
type- The type of the device, such as "button".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags currently associated with the AWS IoT 1-Click device.
- Parameters:
tags- The tags currently associated with the AWS IoT 1-Click device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-