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 Summary
Modifier and TypeMethodDescriptionbuild()
components
(Map<String, ? extends Object> components) An object that maps strings to the components in the entity.components
(IResolvable components) An object that maps strings to the components in the entity.static CfnEntity.Builder
description
(String description) The description of the entity.The entity ID.entityName
(String entityName) The entity name.parentEntityId
(String parentEntityId) The ID of the parent entity.Metadata that you can use to manage the entity.workspaceId
(String workspaceId) The ID of the workspace.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnEntity.Builder
.
-
entityName
The entity name.- Parameters:
entityName
- The entity name. This parameter is required.- Returns:
this
-
workspaceId
The ID of the workspace.- Parameters:
workspaceId
- The ID of the workspace. This parameter is required.- Returns:
this
-
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
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
The description of the entity.- Parameters:
description
- The description of the entity. This parameter is required.- Returns:
this
-
entityId
The entity ID.- Parameters:
entityId
- The entity ID. This parameter is required.- Returns:
this
-
parentEntityId
The ID of the parent entity.- Parameters:
parentEntityId
- The ID of the parent entity. This parameter is required.- Returns:
this
-
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
-