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 Summary
Modifier and TypeMethodDescriptionassociatedDevices(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.attributes(Object attributes) The user-defined attributes associated with the placement.build()static CfnPlacement.BuilderplacementName(String placementName) The name of the placement.projectName(String projectName) The name of the project containing the placement.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnPlacement.Builder.
-
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
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
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
The name of the placement.- Parameters:
placementName- The name of the placement. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlacement>- Returns:
- a newly built instance of
CfnPlacement.
-