Class CfnFormPropsMixin.ValueMappingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnFormPropsMixin.ValueMappingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFormPropsMixin.ValueMappingsProperty>
- Enclosing interface:
CfnFormPropsMixin.ValueMappingsProperty
@Stability(Stable)
public static final class CfnFormPropsMixin.ValueMappingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFormPropsMixin.ValueMappingsProperty>
A builder for
CfnFormPropsMixin.ValueMappingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbindingProperties(Map<String, ? extends Object> bindingProperties) Sets the value ofCfnFormPropsMixin.ValueMappingsProperty.getBindingProperties()bindingProperties(IResolvable bindingProperties) Sets the value ofCfnFormPropsMixin.ValueMappingsProperty.getBindingProperties()build()Builds the configured instance.Sets the value ofCfnFormPropsMixin.ValueMappingsProperty.getValues()values(IResolvable values) Sets the value ofCfnFormPropsMixin.ValueMappingsProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bindingProperties
@Stability(Stable) public CfnFormPropsMixin.ValueMappingsProperty.Builder bindingProperties(IResolvable bindingProperties) Sets the value ofCfnFormPropsMixin.ValueMappingsProperty.getBindingProperties()- Parameters:
bindingProperties- The information to bind fields to data at runtime.- Returns:
this
-
bindingProperties
@Stability(Stable) public CfnFormPropsMixin.ValueMappingsProperty.Builder bindingProperties(Map<String, ? extends Object> bindingProperties) Sets the value ofCfnFormPropsMixin.ValueMappingsProperty.getBindingProperties()- Parameters:
bindingProperties- The information to bind fields to data at runtime.- Returns:
this
-
values
@Stability(Stable) public CfnFormPropsMixin.ValueMappingsProperty.Builder values(IResolvable values) Sets the value ofCfnFormPropsMixin.ValueMappingsProperty.getValues()- Parameters:
values- The value and display value pairs.- Returns:
this
-
values
@Stability(Stable) public CfnFormPropsMixin.ValueMappingsProperty.Builder values(List<? extends Object> values) Sets the value ofCfnFormPropsMixin.ValueMappingsProperty.getValues()- Parameters:
values- The value and display value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFormPropsMixin.ValueMappingsProperty>- Returns:
- a new instance of
CfnFormPropsMixin.ValueMappingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-