Interface CfnEntityProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntityProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:12.810Z")
@Stability(Stable)
public interface CfnEntityProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEntity.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iottwinmaker.*;
DataValueProperty dataValueProperty_;
Object definition;
Object error;
Object relationshipValue;
CfnEntityProps cfnEntityProps = CfnEntityProps.builder()
.entityName("entityName")
.workspaceId("workspaceId")
// the properties below are optional
.components(Map.of(
"componentsKey", ComponentProperty.builder()
.componentName("componentName")
.componentTypeId("componentTypeId")
.definedIn("definedIn")
.description("description")
.properties(Map.of(
"propertiesKey", PropertyProperty.builder()
.definition(definition)
.value(DataValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.expression("expression")
.integerValue(123)
.listValue(List.of(dataValueProperty_))
.longValue(123)
.mapValue(Map.of(
"mapValueKey", dataValueProperty_))
.relationshipValue(relationshipValue)
.stringValue("stringValue")
.build())
.build()))
.propertyGroups(Map.of(
"propertyGroupsKey", PropertyGroupProperty.builder()
.groupType("groupType")
.propertyNames(List.of("propertyNames"))
.build()))
.status(StatusProperty.builder()
.error(error)
.state("state")
.build())
.build()))
.compositeComponents(Map.of(
"compositeComponentsKey", CompositeComponentProperty.builder()
.componentName("componentName")
.componentPath("componentPath")
.componentTypeId("componentTypeId")
.description("description")
.properties(Map.of(
"propertiesKey", PropertyProperty.builder()
.definition(definition)
.value(DataValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.expression("expression")
.integerValue(123)
.listValue(List.of(dataValueProperty_))
.longValue(123)
.mapValue(Map.of(
"mapValueKey", dataValueProperty_))
.relationshipValue(relationshipValue)
.stringValue("stringValue")
.build())
.build()))
.propertyGroups(Map.of(
"propertyGroupsKey", PropertyGroupProperty.builder()
.groupType("groupType")
.propertyNames(List.of("propertyNames"))
.build()))
.status(StatusProperty.builder()
.error(error)
.state("state")
.build())
.build()))
.description("description")
.entityId("entityId")
.parentEntityId("parentEntityId")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEntityPropsstatic final classAn implementation forCfnEntityProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEntityProps.Builderbuilder()default ObjectAn object that maps strings to the components in the entity.default ObjectMaps string tocompositeComponentupdates in the request.default StringThe description of the entity.default StringThe ID of the entity.The entity name.default StringThe ID of the parent entity.getTags()Metadata that you can use to manage the entity.The ID of the workspace that contains the entity.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntityName
The entity name.- See Also:
-
getWorkspaceId
The ID of the workspace that contains the entity.- See Also:
-
getComponents
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.
- See Also:
-
getCompositeComponents
Maps string tocompositeComponentupdates in the request.Each key of the map represents the
componentPathof thecompositeComponent.- See Also:
-
getDescription
The description of the entity.- See Also:
-
getEntityId
The ID of the entity.- See Also:
-
getParentEntityId
The ID of the parent entity.- See Also:
-
getTags
Metadata that you can use to manage the entity.- See Also:
-
builder
- Returns:
- a
CfnEntityProps.BuilderofCfnEntityProps
-