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 |
device(CfnDevice.DeviceProperty device)
Sets the value of
CfnDeviceProps.getDevice() |
CfnDeviceProps.Builder |
device(IResolvable device)
Sets the value of
CfnDeviceProps.getDevice() |
CfnDeviceProps.Builder |
deviceFleetName(java.lang.String deviceFleetName)
Sets the value of
CfnDeviceProps.getDeviceFleetName() |
CfnDeviceProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnDeviceProps.getTags() |
public CfnDeviceProps.Builder deviceFleetName(java.lang.String deviceFleetName)
CfnDeviceProps.getDeviceFleetName()
deviceFleetName
- The name of the fleet the device belongs to. This parameter is required.this
public CfnDeviceProps.Builder device(IResolvable device)
CfnDeviceProps.getDevice()
device
- Edge device you want to create.this
public CfnDeviceProps.Builder device(CfnDevice.DeviceProperty device)
CfnDeviceProps.getDevice()
device
- Edge device you want to create.this
public CfnDeviceProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnDeviceProps.getTags()
tags
- An array of key-value pairs that contain metadata to help you categorize and organize your devices.
Each tag consists of a key and a value, both of which you define.this
public CfnDeviceProps build()
CfnDeviceProps
java.lang.NullPointerException
- if any required attribute was not provided