public static interface AccountAttribute.Builder extends SdkPojo, CopyableBuilder<AccountAttribute.Builder,AccountAttribute>
| Modifier and Type | Method and Description |
|---|---|
AccountAttribute.Builder |
attributeName(String attributeName)
The name of the attribute.
|
AccountAttribute.Builder |
attributeValues(AttributeValueTarget... attributeValues)
A list of attribute values.
|
AccountAttribute.Builder |
attributeValues(Collection<AttributeValueTarget> attributeValues)
A list of attribute values.
|
AccountAttribute.Builder |
attributeValues(Consumer<AttributeValueTarget.Builder>... attributeValues)
A list of attribute values.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAccountAttribute.Builder attributeName(String attributeName)
The name of the attribute.
attributeName - The name of the attribute.AccountAttribute.Builder attributeValues(Collection<AttributeValueTarget> attributeValues)
A list of attribute values.
attributeValues - A list of attribute values.AccountAttribute.Builder attributeValues(AttributeValueTarget... attributeValues)
A list of attribute values.
attributeValues - A list of attribute values.AccountAttribute.Builder attributeValues(Consumer<AttributeValueTarget.Builder>... 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 via AttributeValueTarget.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #attributeValues(List.
attributeValues - a consumer that will call methods on
AttributeValueTarget.Builder#attributeValues(java.util.Collection) Copyright © 2022. All rights reserved.