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();
 
  • Method Details

    • getGlobalNetworkId

      @Stability(Stable) @NotNull String getGlobalNetworkId()
      The ID of the global network.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description of the device.

      Constraints: Maximum length of 256 characters.

    • getLocation

      @Stability(Stable) @Nullable default Object getLocation()
      The site location.
    • getModel

      @Stability(Stable) @Nullable default String getModel()
      The model of the device.

      Constraints: Maximum length of 128 characters.

    • getSerialNumber

      @Stability(Stable) @Nullable default String getSerialNumber()
      The serial number of the device.

      Constraints: Maximum length of 128 characters.

    • getSiteId

      @Stability(Stable) @Nullable default String getSiteId()
      The site ID.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags for the device.
    • getType

      @Stability(Stable) @Nullable default String getType()
      The device type.
    • getVendor

      @Stability(Stable) @Nullable default String getVendor()
      The vendor of the device.

      Constraints: Maximum length of 128 characters.

    • builder

      @Stability(Stable) static CfnDeviceProps.Builder builder()
      Returns:
      a CfnDeviceProps.Builder of CfnDeviceProps