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
@Stability(Stable) public static CfnProject.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
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
- See Also:
-
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
- See Also:
-
description
The description of the project.- Parameters:
description
- The description of the project. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProject>
- Returns:
- a newly built instance of
CfnProject
.
-