Interface LinkAttributeAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LinkAttributeAction.Builder,
,LinkAttributeAction> SdkBuilder<LinkAttributeAction.Builder,
,LinkAttributeAction> SdkPojo
- Enclosing class:
LinkAttributeAction
public static interface LinkAttributeAction.Builder
extends SdkPojo, CopyableBuilder<LinkAttributeAction.Builder,LinkAttributeAction>
-
Method Summary
Modifier and TypeMethodDescriptionattributeActionType
(String attributeActionType) A type that can be eitherUPDATE_OR_CREATE
orDELETE
.attributeActionType
(UpdateActionType attributeActionType) A type that can be eitherUPDATE_OR_CREATE
orDELETE
.default LinkAttributeAction.Builder
attributeUpdateValue
(Consumer<TypedAttributeValue.Builder> attributeUpdateValue) The value that you want to update to.attributeUpdateValue
(TypedAttributeValue attributeUpdateValue) The value that you want to update to.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
-
attributeActionType
A type that can be either
UPDATE_OR_CREATE
orDELETE
.- Parameters:
attributeActionType
- A type that can be eitherUPDATE_OR_CREATE
orDELETE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeActionType
A type that can be either
UPDATE_OR_CREATE
orDELETE
.- Parameters:
attributeActionType
- A type that can be eitherUPDATE_OR_CREATE
orDELETE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeUpdateValue
The value that you want to update to.
- Parameters:
attributeUpdateValue
- The value that you want to update to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdateValue
default LinkAttributeAction.Builder attributeUpdateValue(Consumer<TypedAttributeValue.Builder> attributeUpdateValue) The value that you want to update to.
This is a convenience method that creates an instance of theTypedAttributeValue.Builder
avoiding the need to create one manually viaTypedAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeUpdateValue(TypedAttributeValue)
.- Parameters:
attributeUpdateValue
- a consumer that will call methods onTypedAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-