Class CfnProjectProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot1click.CfnProjectProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectProps>
- Enclosing interface:
CfnProjectProps
@Stability(Stable)
public static final class CfnProjectProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectProps>
A builder for
CfnProjectProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnProjectProps.getDescription()
placementTemplate
(IResolvable placementTemplate) Sets the value ofCfnProjectProps.getPlacementTemplate()
placementTemplate
(CfnProject.PlacementTemplateProperty placementTemplate) Sets the value ofCfnProjectProps.getPlacementTemplate()
projectName
(String projectName) Sets the value ofCfnProjectProps.getProjectName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
placementTemplate
Sets the value ofCfnProjectProps.getPlacementTemplate()
- Parameters:
placementTemplate
- An object describing the project's placement specifications. This parameter is required.- Returns:
this
-
placementTemplate
@Stability(Stable) public CfnProjectProps.Builder placementTemplate(CfnProject.PlacementTemplateProperty placementTemplate) Sets the value ofCfnProjectProps.getPlacementTemplate()
- Parameters:
placementTemplate
- An object describing the project's placement specifications. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnProjectProps.getDescription()
- Parameters:
description
- The description of the project.- Returns:
this
-
projectName
Sets the value ofCfnProjectProps.getProjectName()
- Parameters:
projectName
- The name of the project from which to obtain information.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProjectProps>
- Returns:
- a new instance of
CfnProjectProps
- Throws:
NullPointerException
- if any required attribute was not provided
-