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