Class CfnDevice.Builder
java.lang.Object
software.amazon.awscdk.services.iot1click.CfnDevice.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDevice>
- Enclosing class:
- CfnDevice
@Stability(Stable)
public static final class CfnDevice.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDevice>
A fluent builder for
CfnDevice.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDevice.BuilderThe ID of the device, such asG030PX0312744DWM.A Boolean value indicating whether the device is enabled (true) or not (false).enabled(IResolvable enabled) A Boolean value indicating whether the device is enabled (true) or not (false).
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnDevice.Builder.
-
deviceId
The ID of the device, such asG030PX0312744DWM.- Parameters:
deviceId- The ID of the device, such asG030PX0312744DWM. This parameter is required.- Returns:
this
-
enabled
A Boolean value indicating whether the device is enabled (true) or not (false).- Parameters:
enabled- A Boolean value indicating whether the device is enabled (true) or not (false). This parameter is required.- Returns:
this
-
enabled
A Boolean value indicating whether the device is enabled (true) or not (false).- Parameters:
enabled- A Boolean value indicating whether the device is enabled (true) or not (false). This parameter is required.- Returns:
this
-
build
-