Class ExecutionAttributes.Builder
- java.lang.Object
-
- software.amazon.awssdk.core.interceptor.ExecutionAttributes.Builder
-
- All Implemented Interfaces:
software.amazon.awssdk.utils.builder.Buildable,software.amazon.awssdk.utils.builder.CopyableBuilder<ExecutionAttributes.Builder,ExecutionAttributes>,software.amazon.awssdk.utils.builder.SdkBuilder<ExecutionAttributes.Builder,ExecutionAttributes>
- Enclosing class:
- ExecutionAttributes
public static final class ExecutionAttributes.Builder extends Object implements software.amazon.awssdk.utils.builder.CopyableBuilder<ExecutionAttributes.Builder,ExecutionAttributes>
TODO: We should deprecate this builder - execution attributes are mutable - why do we need a builder? We can just use copy() if it's because ofExecutionAttributes.unmodifiableExecutionAttributes(ExecutionAttributes).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionAttributesbuild()<T> ExecutionAttributes.Builderput(ExecutionAttribute<T> key, T value)Add a mapping between the provided key and value.ExecutionAttributes.BuilderputAll(Map<? extends ExecutionAttribute<?>,?> attributes)Adds all the attributes from the map provided.
-
-
-
Method Detail
-
put
public <T> ExecutionAttributes.Builder put(ExecutionAttribute<T> key, T value)
Add a mapping between the provided key and value.
-
putAll
public ExecutionAttributes.Builder putAll(Map<? extends ExecutionAttribute<?>,?> attributes)
Adds all the attributes from the map provided.
-
build
public ExecutionAttributes build()
- Specified by:
buildin interfacesoftware.amazon.awssdk.utils.builder.Buildable- Specified by:
buildin interfacesoftware.amazon.awssdk.utils.builder.SdkBuilder<ExecutionAttributes.Builder,ExecutionAttributes>
-
-