public static interface AttributeNameAndValue.Builder extends CopyableBuilder<AttributeNameAndValue.Builder,AttributeNameAndValue>
Modifier and Type | Method and Description |
---|---|
AttributeNameAndValue.Builder |
attributeName(String attributeName)
The attribute name of the typed link.
|
default AttributeNameAndValue.Builder |
value(Consumer<TypedAttributeValue.Builder> value)
The value for the typed link.
|
AttributeNameAndValue.Builder |
value(TypedAttributeValue value)
The value for the typed link.
|
copy
applyMutation, build
AttributeNameAndValue.Builder attributeName(String attributeName)
The attribute name of the typed link.
attributeName
- The attribute name of the typed link.AttributeNameAndValue.Builder value(TypedAttributeValue value)
The value for the typed link.
value
- The value for the typed link.default AttributeNameAndValue.Builder value(Consumer<TypedAttributeValue.Builder> value)
The value for the typed link.
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.Builder
value(TypedAttributeValue)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.