Class ExecutionAttributes.Builder
- java.lang.Object
-
- software.amazon.awssdk.core.interceptor.ExecutionAttributes.Builder
-
- All Implemented Interfaces:
Buildable
,CopyableBuilder<ExecutionAttributes.Builder,ExecutionAttributes>
,SdkBuilder<ExecutionAttributes.Builder,ExecutionAttributes>
- Enclosing class:
- ExecutionAttributes
public static final class ExecutionAttributes.Builder extends Object implements 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 ExecutionAttributes
build()
<T> ExecutionAttributes.Builder
put(ExecutionAttribute<T> key, T value)
Add a mapping between the provided key and value.ExecutionAttributes.Builder
putAll(Map<? extends ExecutionAttribute<?>,?> attributes)
Adds all the attributes from the map provided.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
-
-
-
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:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<ExecutionAttributes.Builder,ExecutionAttributes>
-
-