Class CfnWorkspace.Builder

java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnWorkspace.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace>
Enclosing class:
CfnWorkspace

@Stability(Stable) public static final class CfnWorkspace.Builder extends Object implements software.amazon.jsii.Builder<CfnWorkspace>
A fluent builder for CfnWorkspace.
  • Method Details

    • create

      @Stability(Stable) public static CfnWorkspace.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 CfnWorkspace.Builder.
    • role

      @Stability(Stable) public CfnWorkspace.Builder role(String role)
      The ARN of the execution role associated with the workspace.

      Parameters:
      role - The ARN of the execution role associated with the workspace. This parameter is required.
      Returns:
      this
    • s3Location

      @Stability(Stable) public CfnWorkspace.Builder s3Location(String s3Location)
      The ARN of the S3 bucket where resources associated with the workspace are stored.

      Parameters:
      s3Location - The ARN of the S3 bucket where resources associated with the workspace are stored. This parameter is required.
      Returns:
      this
    • workspaceId

      @Stability(Stable) public CfnWorkspace.Builder workspaceId(String workspaceId)
      The ID of the workspace.

      Parameters:
      workspaceId - The ID of the workspace. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnWorkspace.Builder description(String description)
      The description of the workspace.

      Parameters:
      description - The description of the workspace. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnWorkspace.Builder tags(Map<String,String> tags)
      Metadata that you can use to manage the workspace.

      Parameters:
      tags - Metadata that you can use to manage the workspace. This parameter is required.
      Returns:
      this
    • build

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