Class CfnProject.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.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 TypeMethodDescriptionA list that contains the IDs of each asset associated with the project.build()static CfnProject.BuilderThe ID of the portal in which to create the project.projectDescription(String projectDescription) A description for the project.projectName(String projectName) A friendly name for the project.A list of key-value pairs that contain metadata for the project.
-
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.
-
portalId
The ID of the portal in which to create the project.- Parameters:
portalId- The ID of the portal in which to create the project. This parameter is required.- Returns:
this
-
projectName
A friendly name for the project.- Parameters:
projectName- A friendly name for the project. This parameter is required.- Returns:
this
-
assetIds
A list that contains the IDs of each asset associated with the project.- Parameters:
assetIds- A list that contains the IDs of each asset associated with the project. This parameter is required.- Returns:
this
-
projectDescription
A description for the project.- Parameters:
projectDescription- A description for the project. This parameter is required.- Returns:
this
-
tags
A list of key-value pairs that contain metadata for the project.For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .
- Parameters:
tags- A list of key-value pairs that contain metadata for the project. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProject>- Returns:
- a newly built instance of
CfnProject.
-