Modifier and Type | Method and Description |
---|---|
CfnDevice |
build() |
static CfnDevice.Builder |
create(Construct scope,
java.lang.String id) |
CfnDevice.Builder |
device(CfnDevice.DeviceProperty device)
Edge device you want to create.
|
CfnDevice.Builder |
device(IResolvable device)
Edge device you want to create.
|
CfnDevice.Builder |
deviceFleetName(java.lang.String deviceFleetName)
The name of the fleet the device belongs to.
|
CfnDevice.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs that contain metadata to help you categorize and organize your devices.
|
public static CfnDevice.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnDevice.DeviceProperty.Builder
.public CfnDevice.Builder deviceFleetName(java.lang.String deviceFleetName)
deviceFleetName
- The name of the fleet the device belongs to. This parameter is required.this
public CfnDevice.Builder device(IResolvable device)
device
- Edge device you want to create. This parameter is required.this
public CfnDevice.Builder device(CfnDevice.DeviceProperty device)
device
- Edge device you want to create. This parameter is required.this
public CfnDevice.Builder tags(java.util.List<? extends CfnTag> tags)
Each tag consists of a key and a value, both of which you define.
tags
- An array of key-value pairs that contain metadata to help you categorize and organize your devices. This parameter is required.this
public CfnDevice build()