Class CfnEntity.Builder

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

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

    • create

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

      @Stability(Stable) public CfnEntity.Builder entityName(String entityName)
      The entity name.

      Parameters:
      entityName - The entity name. This parameter is required.
      Returns:
      this
    • workspaceId

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

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

      @Stability(Stable) public CfnEntity.Builder components(IResolvable components)
      An object that maps strings to the components in the entity.

      Each string in the mapping must be unique to this object.

      For information on the component object see the component API reference.

      Parameters:
      components - An object that maps strings to the components in the entity. This parameter is required.
      Returns:
      this
    • components

      @Stability(Stable) public CfnEntity.Builder components(Map<String,? extends Object> components)
      An object that maps strings to the components in the entity.

      Each string in the mapping must be unique to this object.

      For information on the component object see the component API reference.

      Parameters:
      components - An object that maps strings to the components in the entity. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnEntity.Builder description(String description)
      The description of the entity.

      Parameters:
      description - The description of the entity. This parameter is required.
      Returns:
      this
    • entityId

      @Stability(Stable) public CfnEntity.Builder entityId(String entityId)
      The entity ID.

      Parameters:
      entityId - The entity ID. This parameter is required.
      Returns:
      this
    • parentEntityId

      @Stability(Stable) public CfnEntity.Builder parentEntityId(String parentEntityId)
      The ID of the parent entity.

      Parameters:
      parentEntityId - The ID of the parent entity. This parameter is required.
      Returns:
      this
    • tags

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

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

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