public static interface AttributeKeyAndValue.Builder extends CopyableBuilder<AttributeKeyAndValue.Builder,AttributeKeyAndValue>
| Modifier and Type | Method and Description |
|---|---|
AttributeKeyAndValue.Builder |
key(AttributeKey key)
The key of the attribute.
|
default AttributeKeyAndValue.Builder |
key(Consumer<AttributeKey.Builder> key)
The key of the attribute.
|
default AttributeKeyAndValue.Builder |
value(Consumer<TypedAttributeValue.Builder> value)
The value of the attribute.
|
AttributeKeyAndValue.Builder |
value(TypedAttributeValue value)
The value of the attribute.
|
copyapply, buildAttributeKeyAndValue.Builder key(AttributeKey key)
The key of the attribute.
key - The key of the attribute.default AttributeKeyAndValue.Builder key(Consumer<AttributeKey.Builder> key)
The key of the attribute.
This is a convenience that creates an instance of theAttributeKey.Builder avoiding the need to
create one manually via AttributeKey.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to key(AttributeKey).key - a consumer that will call methods on AttributeKey.Builderkey(AttributeKey)AttributeKeyAndValue.Builder value(TypedAttributeValue value)
The value of the attribute.
value - The value of the attribute.default AttributeKeyAndValue.Builder value(Consumer<TypedAttributeValue.Builder> value)
The value of the attribute.
This is a convenience that creates an instance of theTypedAttributeValue.Builder avoiding the need
to create one manually via TypedAttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to value(TypedAttributeValue).value - a consumer that will call methods on TypedAttributeValue.Buildervalue(TypedAttributeValue)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.