@Stability(value=Stable) public static final class CfnDeviceDefinitionVersion.DeviceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDeviceDefinitionVersion.DeviceProperty>
CfnDeviceDefinitionVersion.DeviceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDeviceDefinitionVersion.DeviceProperty |
build()
Builds the configured instance.
|
CfnDeviceDefinitionVersion.DeviceProperty.Builder |
certificateArn(String certificateArn)
Sets the value of
CfnDeviceDefinitionVersion.DeviceProperty.getCertificateArn() |
CfnDeviceDefinitionVersion.DeviceProperty.Builder |
id(String id)
Sets the value of
CfnDeviceDefinitionVersion.DeviceProperty.getId() |
CfnDeviceDefinitionVersion.DeviceProperty.Builder |
syncShadow(Boolean syncShadow)
Sets the value of
CfnDeviceDefinitionVersion.DeviceProperty.getSyncShadow() |
CfnDeviceDefinitionVersion.DeviceProperty.Builder |
syncShadow(IResolvable syncShadow)
Sets the value of
CfnDeviceDefinitionVersion.DeviceProperty.getSyncShadow() |
CfnDeviceDefinitionVersion.DeviceProperty.Builder |
thingArn(String thingArn)
Sets the value of
CfnDeviceDefinitionVersion.DeviceProperty.getThingArn() |
@Stability(value=Stable) public CfnDeviceDefinitionVersion.DeviceProperty.Builder certificateArn(String certificateArn)
CfnDeviceDefinitionVersion.DeviceProperty.getCertificateArn()certificateArn - The 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 CfnDeviceDefinitionVersion.DeviceProperty.Builder id(String id)
CfnDeviceDefinitionVersion.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 CfnDeviceDefinitionVersion.DeviceProperty.Builder thingArn(String thingArn)
CfnDeviceDefinitionVersion.DeviceProperty.getThingArn()thingArn - The Amazon Resource Name (ARN) of the device, which is an AWS IoT device (thing). This parameter is required.this@Stability(value=Stable) public CfnDeviceDefinitionVersion.DeviceProperty.Builder syncShadow(Boolean syncShadow)
CfnDeviceDefinitionVersion.DeviceProperty.getSyncShadow()syncShadow - Indicates whether the device's local shadow is synced with the cloud automatically.this@Stability(value=Stable) public CfnDeviceDefinitionVersion.DeviceProperty.Builder syncShadow(IResolvable syncShadow)
CfnDeviceDefinitionVersion.DeviceProperty.getSyncShadow()syncShadow - Indicates whether the device's local shadow is synced with the cloud automatically.this@Stability(value=Stable) public CfnDeviceDefinitionVersion.DeviceProperty build()
build in interface software.amazon.jsii.Builder<CfnDeviceDefinitionVersion.DeviceProperty>CfnDeviceDefinitionVersion.DevicePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.