Interface CfnEntity.DataValueProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEntity.DataValueProperty.Jsii$Proxy
Enclosing class:
CfnEntity

@Stability(Stable) public static interface CfnEntity.DataValueProperty extends software.amazon.jsii.JsiiSerializable
An object that specifies a value for a property.

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 relationshipValue;
 DataValueProperty dataValueProperty = DataValueProperty.builder()
         .booleanValue(false)
         .doubleValue(123)
         .expression("expression")
         .integerValue(123)
         .listValue(List.of(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()))
         .longValue(123)
         .mapValue(Map.of(
                 "mapValueKey", 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()))
         .relationshipValue(relationshipValue)
         .stringValue("stringValue")
         .build();
 
  • Method Details

    • getBooleanValue

      @Stability(Stable) @Nullable default Object getBooleanValue()
      A boolean value.
    • getDoubleValue

      @Stability(Stable) @Nullable default Number getDoubleValue()
      A double value.
    • getExpression

      @Stability(Stable) @Nullable default String getExpression()
      An expression that produces the value.
    • getIntegerValue

      @Stability(Stable) @Nullable default Number getIntegerValue()
      An integer value.
    • getListValue

      @Stability(Stable) @Nullable default Object getListValue()
      A list of multiple values.
    • getLongValue

      @Stability(Stable) @Nullable default Number getLongValue()
      A long value.
    • getMapValue

      @Stability(Stable) @Nullable default Object getMapValue()
      An object that maps strings to multiple DataValue objects.
    • getRelationshipValue

      @Stability(Stable) @Nullable default Object getRelationshipValue()
      A value that relates a component to another component.
    • getStringValue

      @Stability(Stable) @Nullable default String getStringValue()
      A string value.
    • builder

      @Stability(Stable) static CfnEntity.DataValueProperty.Builder builder()
      Returns:
      a CfnEntity.DataValueProperty.Builder of CfnEntity.DataValueProperty