Interface CfnEntity.ComponentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntity.ComponentProperty.Jsii$Proxy
- Enclosing class:
CfnEntity
@Stability(Stable)
public static interface CfnEntity.ComponentProperty
extends software.amazon.jsii.JsiiSerializable
The entity 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;
ComponentProperty componentProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEntity.ComponentPropertystatic final classAn implementation forCfnEntity.ComponentProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the component.default StringThe ID of the component type.default StringThe name of the property definition set in the request.default StringThe description of the component.default ObjectAn object that maps strings to the properties to set in the component type.default ObjectAn object that maps strings to the property groups in the component type.default ObjectThe status of the component.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComponentName
The name of the component.- See Also:
-
getComponentTypeId
The ID of the component type.- See Also:
-
getDefinedIn
The name of the property definition set in the request.- See Also:
-
getDescription
The description of the component.- See Also:
-
getProperties
An object that maps strings to the properties to set in the component type.Each string in the mapping must be unique to this object.
Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnEntity.PropertyProperty>- See Also:
-
getPropertyGroups
An object that maps strings to the property groups in the component type.Each string in the mapping must be unique to this object.
Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnEntity.PropertyGroupProperty>- See Also:
-
getStatus
The status of the component.Returns union: either
IResolvableorCfnEntity.StatusProperty- See Also:
-
builder
-