Class CfnProject.Builder
java.lang.Object
software.amazon.awscdk.services.iot1click.CfnProject.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProject>
- Enclosing class:
- CfnProject
@Stability(Stable)
public static final class CfnProject.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProject>
A fluent builder for
CfnProject
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnProject.Builder
description
(String description) The description of the project.placementTemplate
(IResolvable placementTemplate) An object describing the project's placement specifications.placementTemplate
(CfnProject.PlacementTemplateProperty placementTemplate) An object describing the project's placement specifications.projectName
(String projectName) The name of the project from which to obtain information.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnProject.Builder
.
-
placementTemplate
An object describing the project's placement specifications.- Parameters:
placementTemplate
- An object describing the project's placement specifications. This parameter is required.- Returns:
this
-
placementTemplate
@Stability(Stable) public CfnProject.Builder placementTemplate(CfnProject.PlacementTemplateProperty placementTemplate) An object describing the project's placement specifications.- Parameters:
placementTemplate
- An object describing the project's placement specifications. This parameter is required.- Returns:
this
-
description
The description of the project.- Parameters:
description
- The description of the project. This parameter is required.- Returns:
this
-
projectName
The name of the project from which to obtain information.- Parameters:
projectName
- The name of the project from which to obtain information. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProject>
- Returns:
- a newly built instance of
CfnProject
.
-