Class CfnProjectMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnProjectMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectMixinProps>
- Enclosing interface:
CfnProjectMixinProps
@Stability(Stable)
public static final class CfnProjectMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectMixinProps>
A builder for
CfnProjectMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnProjectMixinProps.getAssetIds()build()Builds the configured instance.Sets the value ofCfnProjectMixinProps.getPortalId()projectDescription(String projectDescription) Sets the value ofCfnProjectMixinProps.getProjectDescription()projectName(String projectName) Sets the value ofCfnProjectMixinProps.getProjectName()Sets the value ofCfnProjectMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetIds
Sets the value ofCfnProjectMixinProps.getAssetIds()- Parameters:
assetIds- A list that contains the IDs of each asset associated with the project.- Returns:
this
-
portalId
Sets the value ofCfnProjectMixinProps.getPortalId()- Parameters:
portalId- The ID of the portal in which to create the project.- Returns:
this
-
projectDescription
@Stability(Stable) public CfnProjectMixinProps.Builder projectDescription(String projectDescription) Sets the value ofCfnProjectMixinProps.getProjectDescription()- Parameters:
projectDescription- A description for the project.- Returns:
this
-
projectName
Sets the value ofCfnProjectMixinProps.getProjectName()- Parameters:
projectName- A friendly name for the project.- Returns:
this
-
tags
Sets the value ofCfnProjectMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectMixinProps>- Returns:
- a new instance of
CfnProjectMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-