Class CfnProjectProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.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 TypeMethodDescriptionSets the value ofCfnProjectProps.getAssetIds()
build()
Builds the configured instance.Sets the value ofCfnProjectProps.getPortalId()
projectDescription
(String projectDescription) Sets the value ofCfnProjectProps.getProjectDescription()
projectName
(String projectName) Sets the value ofCfnProjectProps.getProjectName()
Sets the value ofCfnProjectProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
portalId
Sets the value ofCfnProjectProps.getPortalId()
- Parameters:
portalId
- The ID of the portal in which to create the project. This parameter is required.- Returns:
this
-
projectName
Sets the value ofCfnProjectProps.getProjectName()
- Parameters:
projectName
- A friendly name for the project. This parameter is required.- Returns:
this
-
assetIds
Sets the value ofCfnProjectProps.getAssetIds()
- Parameters:
assetIds
- A list that contains the IDs of each asset associated with the project.- Returns:
this
-
projectDescription
Sets the value ofCfnProjectProps.getProjectDescription()
- Parameters:
projectDescription
- A description for the project.- Returns:
this
-
tags
Sets the value ofCfnProjectProps.getTags()
- Parameters:
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 .- 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
-