Class CfnForm.ValueMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnForm.ValueMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnForm.ValueMappingProperty>
- Enclosing interface:
CfnForm.ValueMappingProperty
@Stability(Stable)
public static final class CfnForm.ValueMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnForm.ValueMappingProperty>
A builder for
CfnForm.ValueMappingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.displayValue
(IResolvable displayValue) Sets the value ofCfnForm.ValueMappingProperty.getDisplayValue()
displayValue
(CfnForm.FormInputValuePropertyProperty displayValue) Sets the value ofCfnForm.ValueMappingProperty.getDisplayValue()
value
(IResolvable value) Sets the value ofCfnForm.ValueMappingProperty.getValue()
Sets the value ofCfnForm.ValueMappingProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
Sets the value ofCfnForm.ValueMappingProperty.getValue()
- Parameters:
value
- The complex object. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnForm.ValueMappingProperty.Builder value(CfnForm.FormInputValuePropertyProperty value) Sets the value ofCfnForm.ValueMappingProperty.getValue()
- Parameters:
value
- The complex object. This parameter is required.- Returns:
this
-
displayValue
@Stability(Stable) public CfnForm.ValueMappingProperty.Builder displayValue(IResolvable displayValue) Sets the value ofCfnForm.ValueMappingProperty.getDisplayValue()
- Parameters:
displayValue
- The value to display for the complex object.- Returns:
this
-
displayValue
@Stability(Stable) public CfnForm.ValueMappingProperty.Builder displayValue(CfnForm.FormInputValuePropertyProperty displayValue) Sets the value ofCfnForm.ValueMappingProperty.getDisplayValue()
- Parameters:
displayValue
- The value to display for the complex object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnForm.ValueMappingProperty>
- Returns:
- a new instance of
CfnForm.ValueMappingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-