Interface CfnEntityProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntityProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.967Z")
@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()))
.description("description")
.entityId("entityId")
.parentEntityId("parentEntityId")
.tags(Map.of(
"tagsKey", "tags"))
.build();
-
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 StringThe description of the entity.default StringThe entity ID.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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntityName
The entity name. -
getWorkspaceId
The ID of the workspace. -
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.
-
getDescription
The description of the entity. -
getEntityId
The entity ID. -
getParentEntityId
The ID of the parent entity. -
getTags
Metadata that you can use to manage the entity. -
builder
- Returns:
- a
CfnEntityProps.BuilderofCfnEntityProps
-