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 TypeMethodDescriptionbuild()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
-
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
-