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.Builder
The 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
@Stability(Stable) public static CfnDevice.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
-