Interface CfnForm.ValueMappingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnForm.ValueMappingsProperty.Jsii$Proxy
- Enclosing class:
CfnForm
@Stability(Stable)
public static interface CfnForm.ValueMappingsProperty
extends software.amazon.jsii.JsiiSerializable
The
ValueMappings property specifies the data binding configuration for a value map.
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_;
ValueMappingsProperty valueMappingsProperty = ValueMappingsProperty.builder()
.values(List.of(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()))
// the properties below are optional
.bindingProperties(Map.of(
"bindingPropertiesKey", FormInputBindingPropertiesValueProperty.builder()
.bindingProperties(FormInputBindingPropertiesValuePropertiesProperty.builder()
.model("model")
.build())
.type("type")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnForm.ValueMappingsPropertystatic final classAn implementation forCfnForm.ValueMappingsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getValues
The value and display value pairs.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnForm.ValueMappingProperty>- See Also:
-
getBindingProperties
The information to bind fields to data at runtime.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnForm.FormInputBindingPropertiesValueProperty>- See Also:
-
builder
-