Class ExecutionAttribute.DerivedAttributeBuilder<T,U>
java.lang.Object
software.amazon.awssdk.core.interceptor.ExecutionAttribute.DerivedAttributeBuilder<T,U>
- Enclosing class:
ExecutionAttribute<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
readMapping
(Function<U, T> readMapping) Set the "read" mapping for this derived attribute.writeMapping
(BiFunction<U, T, U> writeMapping) Set the "write" mapping for this derived attribute.
-
Method Details
-
readMapping
Set the "read" mapping for this derived attribute. The provided function accepts the current value of the "real" attribute and returns the value of the derived attribute. -
writeMapping
Set the "write" mapping for this derived attribute. The provided function accepts the current value of the "real" attribute, the value that we're trying to set to the derived attribute, and returns the value to set to the "real" attribute. -
build
-