public static interface CfnEntity.ComponentProperty
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())) .status(StatusProperty.builder() .error(error) .state("state") .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnEntity.ComponentProperty.Builder
A builder for
CfnEntity.ComponentProperty |
static class |
CfnEntity.ComponentProperty.Jsii$Proxy
An implementation for
CfnEntity.ComponentProperty |
Modifier and Type | Method and Description |
---|---|
static CfnEntity.ComponentProperty.Builder |
builder() |
default java.lang.String |
getComponentName()
The name of the component.
|
default java.lang.String |
getComponentTypeId()
The ID of the ComponentType.
|
default java.lang.String |
getDefinedIn()
The name of the property definition set in the request.
|
default java.lang.String |
getDescription()
The description of the component.
|
default java.lang.Object |
getProperties()
An object that maps strings to the properties to set in the component type.
|
default java.lang.Object |
getStatus()
The status of the component.
|
default java.lang.String getComponentName()
default java.lang.String getComponentTypeId()
default java.lang.String getDefinedIn()
default java.lang.String getDescription()
default java.lang.Object getProperties()
Each string in the mapping must be unique to this object.
default java.lang.Object getStatus()
static CfnEntity.ComponentProperty.Builder builder()