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.Builder
placementName
(String placementName) The name of the placement.projectName
(String projectName) The name of the project containing the placement.
-
Method Details
-
create
@Stability(Stable) public static CfnPlacement.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
placementName
The name of the placement.- Parameters:
placementName
- The name of the placement. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlacement>
- Returns:
- a newly built instance of
CfnPlacement
.
-