Interface CfnDeviceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeviceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.458Z")
@Stability(Stable)
public interface CfnDeviceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDevice.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkmanager.*;
CfnDeviceProps cfnDeviceProps = CfnDeviceProps.builder()
.globalNetworkId("globalNetworkId")
// the properties below are optional
.description("description")
.location(LocationProperty.builder()
.address("address")
.latitude("latitude")
.longitude("longitude")
.build())
.model("model")
.serialNumber("serialNumber")
.siteId("siteId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.vendor("vendor")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDevicePropsstatic final classAn implementation forCfnDeviceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDeviceProps.Builderbuilder()default StringA description of the device.The ID of the global network.default ObjectThe site location.default StringgetModel()The model of the device.default StringThe serial number of the device.default StringThe site ID.getTags()The tags for the device.default StringgetType()The device type.default StringThe vendor of the device.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGlobalNetworkId
The ID of the global network. -
getDescription
A description of the device.Constraints: Maximum length of 256 characters.
-
getLocation
The site location. -
getModel
The model of the device.Constraints: Maximum length of 128 characters.
-
getSerialNumber
The serial number of the device.Constraints: Maximum length of 128 characters.
-
getSiteId
The site ID. -
getTags
The tags for the device. -
getType
The device type. -
getVendor
The vendor of the device.Constraints: Maximum length of 128 characters.
-
builder
- Returns:
- a
CfnDeviceProps.BuilderofCfnDeviceProps
-