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 Details

    • create

      @Stability(Stable) public static CfnDevice.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDevice.Builder.
    • globalNetworkId

      @Stability(Stable) public CfnDevice.Builder globalNetworkId(String globalNetworkId)
      The ID of the global network.

      Parameters:
      globalNetworkId - The ID of the global network. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnDevice.Builder description(String 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
    • location

      @Stability(Stable) public CfnDevice.Builder location(IResolvable location)
      The site location.

      Parameters:
      location - The site location. This parameter is required.
      Returns:
      this
    • location

      @Stability(Stable) public CfnDevice.Builder location(CfnDevice.LocationProperty location)
      The site location.

      Parameters:
      location - The site location. This parameter is required.
      Returns:
      this
    • model

      @Stability(Stable) public CfnDevice.Builder model(String 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
    • serialNumber

      @Stability(Stable) public CfnDevice.Builder serialNumber(String 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
    • siteId

      @Stability(Stable) public CfnDevice.Builder siteId(String siteId)
      The site ID.

      Parameters:
      siteId - The site ID. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDevice.Builder tags(List<? extends CfnTag> tags)
      The tags for the device.

      Parameters:
      tags - The tags for the device. This parameter is required.
      Returns:
      this
    • type

      @Stability(Stable) public CfnDevice.Builder type(String type)
      The device type.

      Parameters:
      type - The device type. This parameter is required.
      Returns:
      this
    • vendor

      @Stability(Stable) public CfnDevice.Builder vendor(String 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
    • build

      @Stability(Stable) public CfnDevice build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDevice>
      Returns:
      a newly built instance of CfnDevice.