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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountAttribute.Builder
attributeName(String attributeName)
The name of 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.AccountAttribute.Builder
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 Detail
-
attributeName
AccountAttribute.Builder attributeName(String 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
AccountAttribute.Builder attributeValues(Collection<AccountAttributeValue> 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(AccountAttributeValue... 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 to#attributeValues(List
.) - 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:
#attributeValues(java.util.Collection
)
-
-