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 method that creates an instance of theAccountAttributeValue.Builder
avoiding the need to create
one manually via AccountAttributeValue.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
AccountAttributeValue.Builder
#attributeValues(java.util.Collection)
Copyright © 2023. All rights reserved.