@Stability(value=Stable) public static final class CfnDeviceDefinition.DeviceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDeviceDefinition.DeviceProperty>
CfnDeviceDefinition.DeviceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDeviceDefinition.DeviceProperty |
build()
Builds the configured instance.
|
CfnDeviceDefinition.DeviceProperty.Builder |
certificateArn(String certificateArn)
Sets the value of
CfnDeviceDefinition.DeviceProperty.getCertificateArn() |
CfnDeviceDefinition.DeviceProperty.Builder |
id(String id)
Sets the value of
CfnDeviceDefinition.DeviceProperty.getId() |
CfnDeviceDefinition.DeviceProperty.Builder |
syncShadow(Boolean syncShadow)
Sets the value of
CfnDeviceDefinition.DeviceProperty.getSyncShadow() |
CfnDeviceDefinition.DeviceProperty.Builder |
syncShadow(IResolvable syncShadow)
Sets the value of
CfnDeviceDefinition.DeviceProperty.getSyncShadow() |
CfnDeviceDefinition.DeviceProperty.Builder |
thingArn(String thingArn)
Sets the value of
CfnDeviceDefinition.DeviceProperty.getThingArn() |
@Stability(value=Stable) public CfnDeviceDefinition.DeviceProperty.Builder certificateArn(String certificateArn)
CfnDeviceDefinition.DeviceProperty.getCertificateArn()certificateArn - The Amazon Resource Name (ARN) of the device certificate for the device. This parameter is required.
This X.509 certificate is used to authenticate the device with AWS IoT and AWS IoT Greengrass services.this@Stability(value=Stable) public CfnDeviceDefinition.DeviceProperty.Builder id(String id)
CfnDeviceDefinition.DeviceProperty.getId()id - A descriptive or arbitrary ID for the device. This parameter is required.
This value must be unique within the device definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+ .this@Stability(value=Stable) public CfnDeviceDefinition.DeviceProperty.Builder thingArn(String thingArn)
CfnDeviceDefinition.DeviceProperty.getThingArn()thingArn - The ARN of the device, which is an AWS IoT device (thing). This parameter is required.this@Stability(value=Stable) public CfnDeviceDefinition.DeviceProperty.Builder syncShadow(Boolean syncShadow)
CfnDeviceDefinition.DeviceProperty.getSyncShadow()syncShadow - Indicates whether the device's local shadow is synced with the cloud automatically.this@Stability(value=Stable) public CfnDeviceDefinition.DeviceProperty.Builder syncShadow(IResolvable syncShadow)
CfnDeviceDefinition.DeviceProperty.getSyncShadow()syncShadow - Indicates whether the device's local shadow is synced with the cloud automatically.this@Stability(value=Stable) public CfnDeviceDefinition.DeviceProperty build()
build in interface software.amazon.jsii.Builder<CfnDeviceDefinition.DeviceProperty>CfnDeviceDefinition.DevicePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.