Interface ObjectAttributeAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ObjectAttributeAction.Builder,
,ObjectAttributeAction> SdkBuilder<ObjectAttributeAction.Builder,
,ObjectAttributeAction> SdkPojo
- Enclosing class:
ObjectAttributeAction
public static interface ObjectAttributeAction.Builder
extends SdkPojo, CopyableBuilder<ObjectAttributeAction.Builder,ObjectAttributeAction>
-
Method Summary
Modifier and TypeMethodDescriptionobjectAttributeActionType
(String objectAttributeActionType) A type that can be eitherUpdate
orDelete
.objectAttributeActionType
(UpdateActionType objectAttributeActionType) A type that can be eitherUpdate
orDelete
.default ObjectAttributeAction.Builder
objectAttributeUpdateValue
(Consumer<TypedAttributeValue.Builder> objectAttributeUpdateValue) The value that you want to update to.objectAttributeUpdateValue
(TypedAttributeValue objectAttributeUpdateValue) 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
-
objectAttributeActionType
A type that can be either
Update
orDelete
.- Parameters:
objectAttributeActionType
- A type that can be eitherUpdate
orDelete
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectAttributeActionType
A type that can be either
Update
orDelete
.- Parameters:
objectAttributeActionType
- A type that can be eitherUpdate
orDelete
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectAttributeUpdateValue
ObjectAttributeAction.Builder objectAttributeUpdateValue(TypedAttributeValue objectAttributeUpdateValue) The value that you want to update to.
- Parameters:
objectAttributeUpdateValue
- The value that you want to update to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectAttributeUpdateValue
default ObjectAttributeAction.Builder objectAttributeUpdateValue(Consumer<TypedAttributeValue.Builder> objectAttributeUpdateValue) 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 toobjectAttributeUpdateValue(TypedAttributeValue)
.- Parameters:
objectAttributeUpdateValue
- 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:
-