public static final class CfnDeviceProps.Builder
extends java.lang.Object
CfnDeviceProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDeviceProps |
build()
Builds the configured instance.
|
CfnDeviceProps.Builder |
deviceId(java.lang.String deviceId)
Sets the value of
CfnDeviceProps.getDeviceId() |
CfnDeviceProps.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnDeviceProps.getEnabled() |
CfnDeviceProps.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnDeviceProps.getEnabled() |
public CfnDeviceProps.Builder deviceId(java.lang.String deviceId)
CfnDeviceProps.getDeviceId()
deviceId
- The ID of the device, such as `G030PX0312744DWM` . This parameter is required.this
public CfnDeviceProps.Builder enabled(java.lang.Boolean enabled)
CfnDeviceProps.getEnabled()
enabled
- A Boolean value indicating whether the device is enabled ( `true` ) or not ( `false` ). This parameter is required.this
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
public CfnDeviceProps build()
CfnDeviceProps
java.lang.NullPointerException
- if any required attribute was not provided