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