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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDeviceProps
static final class
An implementation forCfnDeviceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDeviceProps.Builder
builder()
default String
A description of the device.The ID of the global network.default Object
The site location.default String
getModel()
The model of the device.default String
The serial number of the device.default String
The site ID.getTags()
The tags for the device.default String
getType()
The device type.default String
The 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.Builder
ofCfnDeviceProps
-