@Stability(value=Stable) public static final class CfnDeviceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDeviceProps>
CfnDeviceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDeviceProps |
build()
Builds the configured instance.
|
CfnDeviceProps.Builder |
deviceId(String deviceId)
Sets the value of
CfnDeviceProps.getDeviceId() |
CfnDeviceProps.Builder |
enabled(Boolean enabled)
Sets the value of
CfnDeviceProps.getEnabled() |
CfnDeviceProps.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnDeviceProps.getEnabled() |
@Stability(value=Stable) public CfnDeviceProps.Builder deviceId(String deviceId)
CfnDeviceProps.getDeviceId()deviceId - The ID of the device, such as `G030PX0312744DWM` . This parameter is required.this@Stability(value=Stable) public CfnDeviceProps.Builder enabled(Boolean enabled)
CfnDeviceProps.getEnabled()enabled - A Boolean value indicating whether the device is enabled ( `true` ) or not ( `false` ). This parameter is required.this@Stability(value=Stable) public CfnDeviceProps.Builder enabled(IResolvable enabled)
CfnDeviceProps.getEnabled()enabled - A Boolean value indicating whether the device is enabled ( `true` ) or not ( `false` ). This parameter is required.this@Stability(value=Stable) public CfnDeviceProps build()
build in interface software.amazon.jsii.Builder<CfnDeviceProps>CfnDevicePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.