public static final class CfnProjectProps.Builder
extends java.lang.Object
CfnProjectProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnProjectProps.Builder |
assetIds(java.util.List<java.lang.String> assetIds)
Sets the value of
CfnProjectProps.getAssetIds() |
CfnProjectProps |
build()
Builds the configured instance.
|
CfnProjectProps.Builder |
portalId(java.lang.String portalId)
Sets the value of
CfnProjectProps.getPortalId() |
CfnProjectProps.Builder |
projectDescription(java.lang.String projectDescription)
Sets the value of
CfnProjectProps.getProjectDescription() |
CfnProjectProps.Builder |
projectName(java.lang.String projectName)
Sets the value of
CfnProjectProps.getProjectName() |
CfnProjectProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnProjectProps.getTags() |
public CfnProjectProps.Builder portalId(java.lang.String portalId)
CfnProjectProps.getPortalId()
portalId
- The ID of the portal in which to create the project. This parameter is required.this
public CfnProjectProps.Builder projectName(java.lang.String projectName)
CfnProjectProps.getProjectName()
projectName
- A friendly name for the project. This parameter is required.this
public CfnProjectProps.Builder assetIds(java.util.List<java.lang.String> assetIds)
CfnProjectProps.getAssetIds()
assetIds
- A list that contains the IDs of each asset associated with the project.this
public CfnProjectProps.Builder projectDescription(java.lang.String projectDescription)
CfnProjectProps.getProjectDescription()
projectDescription
- A description for the project.this
public CfnProjectProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnProjectProps.getTags()
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 .this
public CfnProjectProps build()
CfnProjectProps
java.lang.NullPointerException
- if any required attribute was not provided