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 account attribute.
|
AccountAttribute.Builder |
attributeValues(AccountAttributeValue... attributeValues)
The values for the account attribute.
|
AccountAttribute.Builder |
attributeValues(Collection<AccountAttributeValue> attributeValues)
The values for the account attribute.
|
AccountAttribute.Builder |
attributeValues(Consumer<AccountAttributeValue.Builder>... attributeValues)
The values for the account attribute.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AccountAttribute.Builder attributeName(String attributeName)
The name of the account attribute.
attributeName
- The name of the account attribute.AccountAttribute.Builder attributeValues(Collection<AccountAttributeValue> attributeValues)
The values for the account attribute.
attributeValues
- The values for the account attribute.AccountAttribute.Builder attributeValues(AccountAttributeValue... attributeValues)
The values for the account attribute.
attributeValues
- The values for the account attribute.AccountAttribute.Builder attributeValues(Consumer<AccountAttributeValue.Builder>... attributeValues)
The values for the account attribute.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #attributeValues(List)
.attributeValues
- a consumer that will call methods on List.Builder
#attributeValues(List)
Copyright © 2019. All rights reserved.