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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AttributeNameAndValue.BuilderattributeName(String attributeName)The attribute name of the typed link.default AttributeNameAndValue.Buildervalue(Consumer<TypedAttributeValue.Builder> value)The value for the typed link.AttributeNameAndValue.Buildervalue(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 Detail
-
attributeName
AttributeNameAndValue.Builder attributeName(String 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
AttributeNameAndValue.Builder value(TypedAttributeValue 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
default AttributeNameAndValue.Builder value(Consumer<TypedAttributeValue.Builder> value)
The value for the typed link.
This is a convenience method that creates an instance of theTypedAttributeValue.Builderavoiding the need to create one manually viaTypedAttributeValue.builder().When the
Consumercompletes,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:
value(TypedAttributeValue)
-
-