Interface AttributeNameAndValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttributeNameAndValue.Builder,
,AttributeNameAndValue> SdkBuilder<AttributeNameAndValue.Builder,
,AttributeNameAndValue> SdkPojo
- Enclosing class:
AttributeNameAndValue
public static interface AttributeNameAndValue.Builder
extends SdkPojo, CopyableBuilder<AttributeNameAndValue.Builder,AttributeNameAndValue>
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) The attribute name of the typed link.default AttributeNameAndValue.Builder
value
(Consumer<TypedAttributeValue.Builder> value) The value for the typed link.value
(TypedAttributeValue value) The value for the typed link.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
attributeName
The attribute name of the typed link.
- Parameters:
attributeName
- The attribute name of the typed link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value for the typed link.
- Parameters:
value
- The value for the typed link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value for the typed link.
This is a convenience method that creates an instance of theTypedAttributeValue.Builder
avoiding the need to create one manually viaTypedAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(TypedAttributeValue)
.- Parameters:
value
- a consumer that will call methods onTypedAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-