Interface CfnEntity.CompositeComponentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntity.CompositeComponentProperty.Jsii$Proxy
- Enclosing class:
CfnEntity
@Stability(Stable)
public static interface CfnEntity.CompositeComponentProperty
extends software.amazon.jsii.JsiiSerializable
Information about a composite component.
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;
CompositeComponentProperty compositeComponentProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEntity.CompositeComponentPropertystatic final classAn implementation forCfnEntity.CompositeComponentProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the component.default StringThe path to the composite component, starting from the top-level component.default StringThe ID of the composite component type.default StringThe description of the component type.default ObjectMap of strings to the properties in the component type.default ObjectThe property groups.default ObjectThe current status of the composite component.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComponentName
The name of the component.- See Also:
-
getComponentPath
The path to the composite component, starting from the top-level component.- See Also:
-
getComponentTypeId
The ID of the composite component type.- See Also:
-
getDescription
The description of the component type.- See Also:
-
getProperties
Map of strings to the properties in the component type.Each string in the mapping must be unique to this component.
Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnEntity.PropertyProperty>- See Also:
-
getPropertyGroups
The property groups.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnEntity.PropertyGroupProperty>- See Also:
-
getStatus
The current status of the composite component.Returns union: either
IResolvableorCfnEntity.StatusProperty- See Also:
-
builder
-