public static final class CfnDeviceProps.Builder
extends java.lang.Object
CfnDeviceProps
Constructor and Description |
---|
Builder() |
public CfnDeviceProps.Builder globalNetworkId(java.lang.String globalNetworkId)
CfnDeviceProps.getGlobalNetworkId()
globalNetworkId
- The ID of the global network. This parameter is required.this
public CfnDeviceProps.Builder description(java.lang.String description)
CfnDeviceProps.getDescription()
description
- A description of the device.
Constraints: Maximum length of 256 characters.this
public CfnDeviceProps.Builder location(IResolvable location)
CfnDeviceProps.getLocation()
location
- The site location.this
public CfnDeviceProps.Builder location(CfnDevice.LocationProperty location)
CfnDeviceProps.getLocation()
location
- The site location.this
public CfnDeviceProps.Builder model(java.lang.String model)
CfnDeviceProps.getModel()
model
- The model of the device.
Constraints: Maximum length of 128 characters.this
public CfnDeviceProps.Builder serialNumber(java.lang.String serialNumber)
CfnDeviceProps.getSerialNumber()
serialNumber
- The serial number of the device.
Constraints: Maximum length of 128 characters.this
public CfnDeviceProps.Builder siteId(java.lang.String siteId)
CfnDeviceProps.getSiteId()
siteId
- The site ID.this
public CfnDeviceProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnDeviceProps.getTags()
tags
- The tags for the device.this
public CfnDeviceProps.Builder type(java.lang.String type)
CfnDeviceProps.getType()
type
- The device type.this
public CfnDeviceProps.Builder vendor(java.lang.String vendor)
CfnDeviceProps.getVendor()
vendor
- The vendor of the device.
Constraints: Maximum length of 128 characters.this
public CfnDeviceProps build()
CfnDeviceProps
java.lang.NullPointerException
- if any required attribute was not provided