Package software.amazon.awssdk.utils
Class AttributeMap.Builder
java.lang.Object
software.amazon.awssdk.utils.AttributeMap.Builder
- All Implemented Interfaces:
 Buildable,CopyableBuilder<AttributeMap.Builder,,AttributeMap> SdkBuilder<AttributeMap.Builder,AttributeMap> 
- Enclosing class:
 AttributeMap
public static final class AttributeMap.Builder
extends Object
implements CopyableBuilder<AttributeMap.Builder,AttributeMap> 
- 
Method Summary
Modifier and TypeMethodDescriptionbuild()An immutable object that is created from the properties that have been set on the builder.<T> Tget(AttributeMap.Key<T> key) put(AttributeMap.Key<T> key, T value) Add a mapping between the provided key and value.putAll(Map<? extends AttributeMap.Key<?>, ?> attributes) Adds all the attributes from the map provided.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation 
- 
Method Details
- 
get
 - 
put
Add a mapping between the provided key and value. - 
putAll
Adds all the attributes from the map provided. This is not type safe, and will throw an exception during creation if a value in the map is not of the correct type for its key. - 
build
Description copied from interface:SdkBuilderAn immutable object that is created from the properties that have been set on the builder.- Specified by:
 buildin interfaceBuildable- Specified by:
 buildin interfaceSdkBuilder<AttributeMap.Builder,AttributeMap> - Returns:
 - an instance of T
 
 
 -