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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceDescription.Builderarn(String arn)The ARN of the device.DeviceDescription.Builderattributes(Map<String,String> attributes)An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.DeviceDescription.BuilderdeviceId(String deviceId)The unique identifier of the device.DeviceDescription.Builderenabled(Boolean enabled)A Boolean value indicating whether or not the device is enabled.DeviceDescription.BuilderremainingLife(Double remainingLife)A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.DeviceDescription.Buildertags(Map<String,String> tags)The tags currently associated with the AWS IoT 1-Click device.DeviceDescription.Buildertype(String type)The type of the device, such as "button".-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
DeviceDescription.Builder arn(String 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
DeviceDescription.Builder attributes(Map<String,String> 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
DeviceDescription.Builder deviceId(String 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
DeviceDescription.Builder enabled(Boolean 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
DeviceDescription.Builder remainingLife(Double 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
DeviceDescription.Builder type(String 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
DeviceDescription.Builder tags(Map<String,String> 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.
-
-