public static interface ValueMappings.Builder extends SdkPojo, CopyableBuilder<ValueMappings.Builder,ValueMappings>
| Modifier and Type | Method and Description |
|---|---|
ValueMappings.Builder |
values(Collection<ValueMapping> values)
The value and display value pairs.
|
ValueMappings.Builder |
values(Consumer<ValueMapping.Builder>... values)
The value and display value pairs.
|
ValueMappings.Builder |
values(ValueMapping... values)
The value and display value pairs.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildValueMappings.Builder values(Collection<ValueMapping> values)
The value and display value pairs.
values - The value and display value pairs.ValueMappings.Builder values(ValueMapping... values)
The value and display value pairs.
values - The value and display value pairs.ValueMappings.Builder values(Consumer<ValueMapping.Builder>... 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 via ValueMapping.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #values(List.
values - a consumer that will call methods on
ValueMapping.Builder#values(java.util.Collection) Copyright © 2022. All rights reserved.