Interface Device.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Device.Builder,
,Device> SdkBuilder<Device.Builder,
,Device> SdkPojo
- Enclosing class:
Device
@Mutable
@NotThreadSafe
public static interface Device.Builder
extends SdkPojo, CopyableBuilder<Device.Builder,Device>
-
Method Summary
Modifier and TypeMethodDescriptioncertificateArn
(String certificateArn) The ARN of the certificate associated with the device.A descriptive or arbitrary ID for the device.syncShadow
(Boolean syncShadow) If true, the device's local shadow will be automatically synced with the cloud.The thing ARN of the device.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, sdkFieldNameToField, sdkFields
-
Method Details
-
certificateArn
The ARN of the certificate associated with the device.- Parameters:
certificateArn
- The ARN of the certificate associated with the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.- Parameters:
id
- A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncShadow
If true, the device's local shadow will be automatically synced with the cloud.- Parameters:
syncShadow
- If true, the device's local shadow will be automatically synced with the cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingArn
The thing ARN of the device.- Parameters:
thingArn
- The thing ARN of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-