CopyableBuilder<AttributeMap.Builder,AttributeMap>
, SdkBuilder<AttributeMap.Builder,AttributeMap>
public static final class AttributeMap.Builder extends Object implements CopyableBuilder<AttributeMap.Builder,AttributeMap>
Modifier and Type | Method | Description |
---|---|---|
AttributeMap |
build() |
An immutable object that is created from the
properties that have been set on the builder.
|
<T> T |
get(AttributeMap.Key<T> key) |
|
<T> AttributeMap.Builder |
put(AttributeMap.Key<T> key,
T value) |
Add a mapping between the provided key and value.
|
AttributeMap.Builder |
putAll(Map<? extends AttributeMap.Key<?>,?> attributes) |
Adds all the attributes from the map provided.
|
copy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public <T> T get(AttributeMap.Key<T> key)
public <T> AttributeMap.Builder put(AttributeMap.Key<T> key, T value)
public AttributeMap.Builder putAll(Map<? extends AttributeMap.Key<?>,?> attributes)
public AttributeMap build()
SdkBuilder
build
in interface SdkBuilder<AttributeMap.Builder,AttributeMap>
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.