Interface AccountAttribute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccountAttribute.Builder,
,AccountAttribute> SdkBuilder<AccountAttribute.Builder,
,AccountAttribute> SdkPojo
- Enclosing class:
AccountAttribute
public static interface AccountAttribute.Builder
extends SdkPojo, CopyableBuilder<AccountAttribute.Builder,AccountAttribute>
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) The name of the attribute.attributeValues
(Collection<AttributeValueTarget> attributeValues) A list of attribute values.attributeValues
(Consumer<AttributeValueTarget.Builder>... attributeValues) A list of attribute values.attributeValues
(AttributeValueTarget... attributeValues) A list of attribute values.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 name of the attribute.
- Parameters:
attributeName
- The name of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
A list of attribute values.
- Parameters:
attributeValues
- A list of attribute values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
A list of attribute values.
- Parameters:
attributeValues
- A list of attribute values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
A list of attribute values.
This is a convenience method that creates an instance of theAttributeValueTarget.Builder
avoiding the need to create one manually viaAttributeValueTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeValues(List<AttributeValueTarget>)
.- Parameters:
attributeValues
- a consumer that will call methods onAttributeValueTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-