Class CfnDevice.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.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 TypeMethodDescriptionawsLocation
(IResolvable awsLocation) The AWS location of the device.awsLocation
(CfnDevice.AWSLocationProperty awsLocation) The AWS location of the device.build()
static CfnDevice.Builder
description
(String description) A description of the device.globalNetworkId
(String globalNetworkId) The ID of the global network.location
(IResolvable location) The site location.location
(CfnDevice.LocationProperty location) The site location.The model of the device.serialNumber
(String serialNumber) The serial number of the device.The site ID.The tags for the device.The device type.The vendor of the device.
-
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
.
-
globalNetworkId
The ID of the global network.- Parameters:
globalNetworkId
- The ID of the global network. This parameter is required.- Returns:
this
- See Also:
-
awsLocation
The AWS location of the device.- Parameters:
awsLocation
- The AWS location of the device. This parameter is required.- Returns:
this
- See Also:
-
awsLocation
The AWS location of the device.- Parameters:
awsLocation
- The AWS location of the device. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the device.Constraints: Maximum length of 256 characters.
- Parameters:
description
- A description of the device. This parameter is required.- Returns:
this
- See Also:
-
location
The site location.- Parameters:
location
- The site location. This parameter is required.- Returns:
this
- See Also:
-
location
The site location.- Parameters:
location
- The site location. This parameter is required.- Returns:
this
- See Also:
-
model
The model of the device.Constraints: Maximum length of 128 characters.
- Parameters:
model
- The model of the device. This parameter is required.- Returns:
this
- See Also:
-
serialNumber
The serial number of the device.Constraints: Maximum length of 128 characters.
- Parameters:
serialNumber
- The serial number of the device. This parameter is required.- Returns:
this
- See Also:
-
siteId
The site ID.- Parameters:
siteId
- The site ID. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags for the device.- Parameters:
tags
- The tags for the device. This parameter is required.- Returns:
this
- See Also:
-
type
The device type.- Parameters:
type
- The device type. This parameter is required.- Returns:
this
- See Also:
-
vendor
The vendor of the device.Constraints: Maximum length of 128 characters.
- Parameters:
vendor
- The vendor of the device. This parameter is required.- Returns:
this
- See Also:
-
build
-