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 Details

    • create

      @Stability(Stable) public static CfnProject.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnProject.Builder.
    • portalId

      @Stability(Stable) public CfnProject.Builder portalId(String 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

      @Stability(Stable) public CfnProject.Builder projectName(String projectName)
      A friendly name for the project.

      Parameters:
      projectName - A friendly name for the project. This parameter is required.
      Returns:
      this
    • assetIds

      @Stability(Stable) public CfnProject.Builder assetIds(List<String> 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

      @Stability(Stable) public CfnProject.Builder projectDescription(String projectDescription)
      A description for the project.

      Parameters:
      projectDescription - A description for the project. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnProject.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnProject build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnProject>
      Returns:
      a newly built instance of CfnProject.