Class CfnPlacement.Builder

java.lang.Object
software.amazon.awscdk.services.iot1click.CfnPlacement.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlacement>
Enclosing class:
CfnPlacement

@Stability(Stable) public static final class CfnPlacement.Builder extends Object implements software.amazon.jsii.Builder<CfnPlacement>
A fluent builder for CfnPlacement.
  • Method Details

    • create

      @Stability(Stable) public static CfnPlacement.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 CfnPlacement.Builder.
    • projectName

      @Stability(Stable) public CfnPlacement.Builder projectName(String projectName)
      The name of the project containing the placement.

      Parameters:
      projectName - The name of the project containing the placement. This parameter is required.
      Returns:
      this
    • associatedDevices

      @Stability(Stable) public CfnPlacement.Builder associatedDevices(Object associatedDevices)
      The devices to associate with the placement, as defined by a mapping of zero or more key-value pairs wherein the key is a template name and the value is a device ID.

      Parameters:
      associatedDevices - The devices to associate with the placement, as defined by a mapping of zero or more key-value pairs wherein the key is a template name and the value is a device ID. This parameter is required.
      Returns:
      this
    • attributes

      @Stability(Stable) public CfnPlacement.Builder attributes(Object attributes)
      The user-defined attributes associated with the placement.

      Parameters:
      attributes - The user-defined attributes associated with the placement. This parameter is required.
      Returns:
      this
    • placementName

      @Stability(Stable) public CfnPlacement.Builder placementName(String placementName)
      The name of the placement.

      Parameters:
      placementName - The name of the placement. This parameter is required.
      Returns:
      this
    • build

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