Interface ValueMappings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ValueMappings.Builder,
,ValueMappings> SdkBuilder<ValueMappings.Builder,
,ValueMappings> SdkPojo
- Enclosing class:
ValueMappings
@Mutable
@NotThreadSafe
public static interface ValueMappings.Builder
extends SdkPojo, CopyableBuilder<ValueMappings.Builder,ValueMappings>
-
Method Summary
Modifier and TypeMethodDescriptionbindingProperties
(Map<String, FormInputBindingPropertiesValue> bindingProperties) The information to bind fields to data at runtime.values
(Collection<ValueMapping> values) The value and display value pairs.values
(Consumer<ValueMapping.Builder>... values) The value and display value pairs.values
(ValueMapping... values) The value and display value pairs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
values
The value and display value pairs.
- Parameters:
values
- The value and display value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The value and display value pairs.
- Parameters:
values
- The value and display value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The value and display value pairs.
This is a convenience method that creates an instance of theValueMapping.Builder
avoiding the need to create one manually viaValueMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalues(List<ValueMapping>)
.- Parameters:
values
- a consumer that will call methods onValueMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bindingProperties
ValueMappings.Builder bindingProperties(Map<String, FormInputBindingPropertiesValue> bindingProperties) The information to bind fields to data at runtime.
- Parameters:
bindingProperties
- The information to bind fields to data at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-