Interface CfnForm.ValueMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnForm.ValueMappingProperty.Jsii$Proxy
- Enclosing class:
CfnForm
@Stability(Stable)
public static interface CfnForm.ValueMappingProperty
extends software.amazon.jsii.JsiiSerializable
The
ValueMapping property specifies the association between a complex object and a display value.
Use ValueMapping to store how to represent complex objects when they are displayed.
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.amplifyuibuilder.*;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
ValueMappingProperty valueMappingProperty = ValueMappingProperty.builder()
.value(FormInputValuePropertyProperty.builder()
.bindingProperties(FormInputValuePropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.concat(List.of(formInputValuePropertyProperty_))
.value("value")
.build())
// the properties below are optional
.displayValue(FormInputValuePropertyProperty.builder()
.bindingProperties(FormInputValuePropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.concat(List.of(formInputValuePropertyProperty_))
.value("value")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnForm.ValueMappingPropertystatic final classAn implementation forCfnForm.ValueMappingProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getValue
The complex object.Returns union: either
IResolvableorCfnForm.FormInputValuePropertyProperty- See Also:
-
getDisplayValue
The value to display for the complex object.Returns union: either
IResolvableorCfnForm.FormInputValuePropertyProperty- See Also:
-
builder
-