Interface CfnEntityProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntityProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:25:00.994Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEntityProps
static final class
An implementation forCfnEntityProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEntityProps.Builder
builder()
default Object
An object that maps strings to the components in the entity.default Object
Maps string tocompositeComponent
updates in the request.default String
The description of the entity.default String
The ID of the entity.The entity name.default String
The 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 tocompositeComponent
updates in the request.Each key of the map represents the
componentPath
of 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.Builder
ofCfnEntityProps
-