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 account attribute.attributeValues
(Collection<AccountAttributeValue> attributeValues) The values for the account attribute.attributeValues
(Consumer<AccountAttributeValue.Builder>... attributeValues) The values for the account attribute.attributeValues
(AccountAttributeValue... attributeValues) The values for the account attribute.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 account attribute.
- Parameters:
attributeName
- The name of the account attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
The values for the account attribute.
- Parameters:
attributeValues
- The values for the account attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
The values for the account attribute.
- Parameters:
attributeValues
- The values for the account attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
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 viaAccountAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeValues(List<AccountAttributeValue>)
.- Parameters:
attributeValues
- a consumer that will call methods onAccountAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-